move-files:移动文件

时间:2021-05-08 11:48:00
【文件属性】:
文件名称:move-files:移动文件
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-08 11:48:00
nodejs javascript filesystem move emitter 移动文件 支持发射器和zip归档文件来移动文件。 尝试先rename文件,并且只有在失败后才移动它们。 安装 npm i @cloudcmd/move-files 如何使用? const moveFiles = require ( '@cloudcmd/move-files' ) ; const cwd = process . cwd ( ) ; const from = cwd + '/pipe-io' ; const to = cwd + '/example' ; const abortOnError = false ; const mv = moveFiles ( from , to , [ 'LICENSE' , 'README.md' , 'package.json' , ] ) ; mv . on ( 'file' , ( from , to ) =
【文件预览】:
move-files-master
----.eslintrc.json(316B)
----.gitignore(77B)
----package.json(2KB)
----.madrun.mjs(512B)
----LICENSE(1KB)
----ChangeLog(2KB)
----.github()
--------workflows()
--------main.workflow(193B)
----README.md(3KB)
----example()
--------index.js(262B)
----lib()
--------move-files.js(3KB)
----.npmignore(52B)
----test()
--------move-files.js(7KB)
--------fixture()

网友评论