Skip to content

noscripter/io-spin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

io-spin

NPM version NPM download Build Status: Linux

Little terminal spinner lib for Node.js and io.js

io-spin.gif

Installation

$ npm install io-spin

Example

var Spin = require('io-spin')
var spin = new Spin()
// Spin(type, placeholder)

spin.start()
// call spin.stop() to stop spinner
spin.update(placeholder)
// upload placeholder
// eg: update Installing 0% to Installing 1%

Checkout all the spinner types!

GIF (original from tj/go-spin)

gif

License

MIT © EGOIST

About

TJ Holowaychuk's go-spin node.js port

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%