npm.io
1.2.2 • Published 1 year ago

nanospinner

Licence
MIT
Version
1.2.2
Deps
1
Size
11 kB
Vulns
0
Weekly
0
Stars
229

Nano Spinner

The simplest and tiniest terminal spinner for Node.js

import { createSpinner } from 'nanospinner'

const spinner = createSpinner('Run test').start()

setTimeout(() => {
  spinner.success()
}, 1000)
  • Only single dependency (picocolors).
  • It 15 times smaller than ora.
  • Support both CJS and ESM projects.
  • TypeScript type declarations included.

Docs

Read full docs here.