Package detail

mico-spinner

enemycnt54.5kMIT1.4.0

minimalistic spinner for nodejs projects

readme

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

changelog

Change Log

This project adheres to Semantic Versioning.

1.4.0

  • Replaced nanocolors with picocolors

    1.3.0

  • Replaced colorette with nanocolors

    1.2.2

  • fix options passing to the main factory

    1.2.1

  • added more rules for .npmignore to make package slimmer

    1.2.0

  • added types for TypeScript

    1.1.1

  • changed colors library to colorette

1.0.0

  • Initial release.