mico-spinner
v1.4.0
Published
minimalistic spinner for nodejs projects
Downloads
43,933
Readme
mico-spinner
Minimalistic spinner for Node.js.
- Only single dependency (Pico Colors) without sub-dependencies. In contrast,
ora
has 30 sub-dependencies. - Detects Unicode and color support in terminal.
Usage
let micoSpinner = require('mico-spinner')
let spinner = micoSpinner('Long task').start()
try {
await longTask()
spinner.succeed()
} catch (e) {
spinner.fail()
console.error(e.stack)
}