1.1.2 • Published 6 years ago

t-minus-logger v1.1.2

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

T-Minus Logger

travis CodeFactor Coverage Status npm downloads javascript style guide

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