Package Exports
- time-ms
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (time-ms) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.