time-ms
v1.0.0
Published
get the current time in milliseconds, with nanosecond precision
Downloads
14
Maintainers
Readme
time-ms
get the current time in milliseconds, with nanosecond precision
Usage
var time = require('time-ms');
var start = time();
setTimeout(() => {
var finish = time()
console.log('took '+(finish-start)+'ms');
// took 1000.097435ms
}, 1000);
License
MIT, see LICENSE.md for details.