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')