1.0.0 • Published 6 years ago

runspin v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Run a command in a terminal with a spinner, then replace with a checkmark when done. Simple wrapper for ora and execa.

Example:

const runSpin = require('runspin');

(async () => {
  await runSpin('sleep 3','Sleeping..');
  await runSpin('ls -lah','Listing');
  await runSpin('sleep 1', 'Wait..');
})().catch(console.error);
1.0.0

6 years ago