Quickstart with Nano Spinner
masterTo use Nano Spinner, import createSpinner from nanospinner. You can initialize a spinner with a text label and immediately start the animation. Use the .success() method to stop the animation and show a completion mark after your task is finished.
import { createSpinner } from 'nanospinner'
const spinner = createSpinner('Run test').start()
setTimeout(() => {
spinner.success()
}, 1000)