thread-spin
Thread based, truly async spinner based on ora
Usage
Install from npm
npm i thread-spin
Then instantiate ThreadSpinner
// The options are the same as an ora spinner; // Most of the methods are the same as ora, just now return promisesspinner.start.then.then;
Why?
Ora is a great library, but won't work well if you're running a spinner for something that blocks the event loop. This library is for when you need your spinners to spin no matter what is happening in the main process.