Need help with elegant-status?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

inikulin
130 Stars 4 Forks MIT License 8 Commits 1 Opened issues

Description

Create elegant task status for CLI.

Services available

!
?

Need anything else?

Contributors list

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: ```js 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 ([email protected])

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.