runspin:用微调器运行shell命令

时间:2021-05-11 13:19:03
【文件属性】:
文件名称:runspin:用微调器运行shell命令
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-11 13:19:03
JavaScript 在带有微调器的终端中运行命令,然后在完成后替换为选中标记。 用于ora和execa简单包装。 例子: const runSpin = require ( 'runspin' ) ; ( async ( ) => { await runSpin ( 'sleep 3' , 'Sleeping..' ) ; await runSpin ( 'ls -lah' , 'Listing' ) ; await runSpin ( 'sleep 1' , 'Wait..' ) ; } ) ( ) . catch ( console . error ) ;
【文件预览】:
runspin-master
----.gitignore(23B)
----README.md(349B)
----package.json(272B)
----index.js(197B)
----test.js(250B)
----package-lock.json(9KB)

网友评论