0.1.1 • Published 4 years ago

setcountdown v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 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

4 years ago

0.1.0

7 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago