js-spin
v0.0.0
Published
ASCII Spinners
Downloads
10
Readme
js-spin
Do the same as go-spin.
var Spinner = require('js-spin');
var s = new Spinner();
s.set(Spinner.BOX2);
while (1) {
process.stdout.write('\r' + s.value); // .write('\r' + (yield s))
yield wait(100);
}
License
(The MIT License)
Copyright (c) 2014 Po-Ying Chen <[email protected]>.