cli-status
Highly configurable status indicators for your node.js cli.
Local Installation:
cli-status
is an npm module. Once you have npm, you can run this to locally install cli-status
into the current directory.
$> npm install cli-status
Or, add this as a dependency in your project's package.json
"dependencies":
How to use:
Manual stepping:
var status = ; status; while something status;
Automatic polling:
var status = ;var files = ; statusstart { return fileslength;}; while fileslength < server var data = server; files; status;// Optional if files.length >= options.total is guaranteed.
Testing:
Install or clone the repo, then run:
$> npm test