mico-spinner
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

mico-spinner

screenshot

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)
}

Readme

Keywords

none

Package Sidebar

Install

npm i mico-spinner

Weekly Downloads

8,226

Version

1.4.0

License

MIT

Unpacked Size

11.5 kB

Total Files

14

Last publish

Collaborators

  • enemycnt