Little terminal spinner lib for Node.js and io.js
$ npm install io-spin
var spin = require('io-spin')
var spinner = spin('Fetching data')
spinner.start()
spinner.stop()
spinner.update(placeholder)
// upload placeholder
// eg: update Installing 0% to Installing 1%
Type: string
Default: ''
The placeholder to show with the spinner.
Type: string
Default: spin1
The spinner type. Checkout all the spinner types!
Start the spinner.
Stop the spinner and clear it.
Update the placeholder text.
MIT © EGOIST