mico-spinner
minimalistic spinner for nodejs projects
Last updated 5 years ago by enemycnt .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install mico-spinner 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.4.0                                ...           latest (5 years ago)

8 Versions

  • 1.4.0                                ...           5 years ago
  • 1.3.0                                ...           5 years ago
  • 1.2.2                                ...           5 years ago
  • 1.2.1                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Total 26
Today 0
This Week 0
This Month 9
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE