sindresorhus / Elegant Spinner
Licence: mit
Elegant spinner for interactive CLI apps
Stars: ✭ 217
Programming Languages
javascript
184084 projects - #8 most used programming language
elegant-spinner
Elegant spinner for interactive CLI apps
You probably want ora
instead, which includes this spinner and handles the animation for you.
Install
$ npm install elegant-spinner
Usage
const elegantSpinner = require('elegant-spinner');
const logUpdate = require('log-update');
const frame = elegantSpinner();
setInterval(() => {
logUpdate(frame());
}, 50);
Related
- log-update - Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].