human-timer
Tiny, human readable timer with no external dependencies. Specify the duration in seconds, add callbacks to timer ticks and end, stop it at any moment.
Installation:
npm install --save human-timer
Test
npm run test
Usage:
const timer = seconds: 7200 // 2 hour long duration zeroes: false // won't turn 5 mins into 05 mins, default is true console console; timerstart;timer;timer;
Is there something wrong?
Please tell me!