0.0.2 • Published 9 years ago
log-ms v0.0.2
log-ms 
Elegant instance execution time in ms
Install
$ npm install --save log-msUsage
const logms = require('log-ms')
const timer = logms()
timer.start()
setTimeout(() => console.log(`cool! ${timer.end()}`), 5000)
// => cool [5s]Demo

API
logms()
Instance
start()
Start the logms. Returns the instance.
end()
Stop the logms. Returns the instance.
License
MIT © Bu Kinoshita