Node中的Nyan cat进度栏,为什么不呢?-Node.js开发

时间:2024-06-16 04:32:12
【文件属性】:

文件名称:Node中的Nyan cat进度栏,为什么不呢?-Node.js开发

文件大小:208KB

文件格式:ZIP

更新时间:2024-06-16 04:32:12

Node.js Command-line utilities

nyan-progress Node的nyan cat进度栏。 安装yarn添加nyan-progress,或者如果您使用npm,则使用npm install --save nyan-progress用法从'nyan-progres import nyanProgress nyan-progress Node的nyan cat进度栏。 安装yarn添加nyan-progress,或者如果您使用npm,则使用npm install --save nyan-progress用法import'nyan-progress'from'nyan-progress'; // OR // const nyanProgress = require('nyan-progress); const progress = nyanProgress(); //初始化progress.start({total:100}); // //启动进度const timer = setInterval(()=> {progress.tick(); if(progress.isComplete){clearInterval(t


【文件预览】:
nyan-progress-master
----.eslintrc(91B)
----.babelrc(37B)
----package.json(924B)
----assets()
--------screenshot.gif(197KB)
----LICENSE(1KB)
----src()
--------colors.js(666B)
--------index.js(4KB)
----.npmignore(32B)
----.gitignore(20B)
----README.md(2KB)
----yarn.lock(86KB)

网友评论