spinner.js 169 B

123456789
  1. #!/usr/bin/env node
  2. var cli = require('./');
  3. cli.spinner('Working..');
  4. setTimeout(function () {
  5. cli.spinner('Working.. done!', true); //End the spinner
  6. }, 3000);