t-minus-logger
v1.1.2
Published
A T-Minus countdown logger for indicating the time remaining before a process is scheduled to start.
Downloads
7
Maintainers
Readme
T-Minus Logger
A T-Minus countdown logger for indicating the time remaining before a process is scheduled to start.
Why?
Give time to review run params
Give warning & action time before starting irreversible tasks
Installation
$ npm i t-minus-logger
Usage
const countdown = require('t-minus-logger')
countdown('Prepare for launch', 5).then(() => {
console.log('Launch ->');
});
Note:
- Please refer examples in repository for more usage options and default behaviour.
- Exclude in dev mode by conditionally passing start time T = 0
Sponsored By
License
MIT © Deependra Mishra