【文件属性】:
文件名称:customshells:一个简化Node.js中shell的使用的库
文件大小:36KB
文件格式:ZIP
更新时间:2021-05-18 14:22:30
JavaScript
定制壳
一个简化Node.js中shell的使用的库
npm install customshells
用法示例:
const customshells = require ( 'customshells' ) ;
const shell = customshells . create ( ) ;
// Run a Node.js module
// at every node in
// a directory tree.
// Pipe all output
// to 'example/output.txt'.
shell
. node ( 'myModule.js' )
. tree ( 'example/root/node' )
. toFile ( 'example/output.txt' )
.
【文件预览】:
customshells-master
----LICENSE.APACHE2(556B)
----index.js(314B)
----LICENSE.MIT(1KB)
----package.json(1KB)
----test()
--------test.js(2KB)
--------server.js(425B)
--------testFolders()
--------out()
----tarball()
--------customshells-2.0.1.tgz(21KB)
----lib()
--------index.js(51B)
--------customshell()
----README.md(1KB)