stevedore
Display a loading animation in the terminal:
[ ===] loading...[====] loading...[=== ] loading...[== ] loading...
Installation
npm i stevedore
Usage
var stevedore = ;var loader = ; // later...loader;
Options
You can pass in options like so:
var loader = ;
You can adjust these options on the fly:
var loader = ; // later...loader;
By default, the loader will update every 100 milliseconds. You can manually instruct it to tick instead:
stream;
This will prevent the loader from automatically ticking in future.
License
MIT