scriptenv:从目录结构创建函数的对象层次结构

时间:2021-05-22 09:37:25
【文件属性】:
文件名称:scriptenv:从目录结构创建函数的对象层次结构
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-22 09:37:25
JavaScript 脚本环境 从包含普通.js文件的目录结构创建函数的对象层次结构。 从单独的组件创建可共享JavaScript库很有用。 描述 为每个目录创建一个对象。 包含符号链接,并将每个文件的最后一个功能添加到名为文件名的结果对象中。 Usage: scriptenv [options] --nowrap don't wrap each file in a closure --scope name of the variable the closure should be applied to --exclude exclude files/dirs matching --closure use obj["prop"] to allow use of the closure c
【文件预览】:
scriptenv-master
----lib()
--------Repos.js(6KB)
--------fileFromDir.js(7KB)
----test.js(328B)
----gulpfile.js(1KB)
----test()
--------deep()
--------foo.js(113B)
--------bar()
----README.md(2KB)
----index.js(6KB)
----bin()
--------scriptenv(4KB)
----package.json(604B)

网友评论