t-minus-logger

1.1.2 • Public • Published

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

Shopinfer - Best Product Comparison site online

License

MIT © Deependra Mishra

Package Sidebar

Install

npm i t-minus-logger

Weekly Downloads

7

Version

1.1.2

License

MIT

Unpacked Size

10.5 kB

Total Files

16

Last publish

Collaborators

  • deependrax