timely-log

1.0.1 • Public • Published

Timely-Log

This is a basic logging helper which has 6 functions

timeIn -- Place where you want to start the time logging.

timeOut -- Place where you want to stop the time logging.

getTotalTimeInSeconds -- Returns the total time taken in seconds.

getTotalTimeInMillis -- Returns the total time taken in milliseconds.

logTotalTimeInSeconds -- Console logs the total time taken in seconds.

logTotalTimeInMillis -- Console logs the total time taken in milliseconds.

Installation instructions

npm i timely-log

How to use

var timelyLog = require('timely-log')

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i timely-log

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

1.95 kB

Total Files

3

Last publish

Collaborators

  • sashank007