vlad 6f123ff03e 18.07 | 6 years ago | |
---|---|---|
.. | ||
index.js | 6 years ago | |
license | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 years ago |
Elegant spinner for interactive CLI apps
$ npm install --save elegant-spinner
var elegantSpinner = require('elegant-spinner');
var logUpdate = require('log-update');
var frame = elegantSpinner();
setInterval(function () {
logUpdate(frame());
}, 50);
MIT © Sindre Sorhus