outer-shelljs:ShellJS 包装器(findByRegex、事件等)

时间:2021-05-30 23:58:25
【文件属性】:
文件名称:outer-shelljs:ShellJS 包装器(findByRegex、事件等)
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-30 23:58:25
JavaScript 外壳js 包装器 findByRegex() grep()接受任何grep变体选项 _(method, ...)在每次调用后发出代理 例子 var shelljs = require ( 'outer-shelljs' ) . create ( ) ; var exists = shelljs . _ ( 'test' , '-e' , '/path/to/file' ) ; var files = shelljs . findByRegex ( '/path/to/dir' , / \. js $ / ) ; 安装 npm install outer-shelljs 应用程序接口 活动 cmd 在任何调用后触发。 shelljs . on ( 'cmd' , function ( method , argArray , returnVal ) { console . l
【文件预览】:
outer-shelljs-master
----Gruntfile.js(307B)
----lib()
--------outer-shelljs()
----.travis.yml(86B)
----LICENSE(1KB)
----test()
--------lib()
----README.md(1KB)
----docs()
--------OuterShelljs.md(3KB)
----.gitignore(19B)
----index.js(49B)
----CHANGELOG.md(794B)
----package.json(1KB)

网友评论