0.1.1 • Published 6 years ago

setcountdown v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

setcountdown

setTimeout with simple stdout.write countdown for your node script

npm install setcountdown --save

usage

var countdownToken = '///';
var countdownInterval = 500;

var timer = require('setcountdown');
timer.setCountdown(function(){
  console.log('ready to go!');
},5000,countdownToken,countdownInterval);

countdownInterval is optional and defaults to 1000 (1 second)

pro tip: Use together with the wonderful module colors for pretty effects.

try this as a countdownToken:

'     '.bgCyan
0.1.1

6 years ago

0.1.0

9 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago