es

elegant-status

Create elegant task status for CLI.

Showing:

Popularity

Downloads/wk

5K

GitHub Stars

131

Maintenance

Last Commit

5yrs ago

Contributors

1

Package

Dependencies

4

Size (min+gzip)

2.8KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

elegant-status

Build Status

Create elegant task status for CLI.

const elegantStatus = require('elegant-status');

const done = elegantStatus('Perform assessment');

setTimeout(() => done(true), 1000);

success


const elegantStatus = require('elegant-status');

const done = elegantStatus('Set defense systems');

setTimeout(() => done(false), 1000);

success


You can update status text while it's spinning using done.updateText() function:

const elegantStatus = require('elegant-status');

const done = elegantStatus('Set defense systems');

setTimeout(() => done.updateText('1 second left'), 1000);

Install

npm install elegant-status

Author

Ivan Nikulin (ifaaan@gmail.com)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100