【文件属性】:
文件名称:flop:FLOP-文件夹操作模块
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-07 21:49:56
nodejs copy directory folder move
翻牌圈
FLOP-文件夹操作模块。
安装
要用作应用程序,您可以使用全局安装。
npm i flop -g
如果您运行flop -h您将看到:
flop - folder operations module.
options:
-h, --help - show this message
-r, --read - get directory content
如果使用以下命令安装,您也可以将flop用作模块
npm i flop
原料药
创造
创建新目录。
const flop = require ( 'flop' ) ;
flop . create ( './hello/world/from/flop' , ( error , data ) => {
console . log ( error , data ) ;
} ) ;
读
使用权限和大小读取目录的内容。
参数:
【文件预览】:
flop-master
----bin()
--------flop.js(1KB)
----package.json(2KB)
----.eslintrc.json(237B)
----.github()
--------main.workflow(193B)
--------workflows()
----test()
--------flop.js(3KB)
----LICENSE(1KB)
----.npmignore(34B)
----.gitignore(88B)
----lib()
--------flop.js(2KB)
----.nycrc.json(242B)
----ChangeLog(6KB)
----README.md(2KB)
----.madrun.mjs(512B)