asdf-games/node_modules/right-now/index.js

5 lines
105 B
JavaScript

module.exports = function now() {
var time = process.hrtime()
return time[0] * 1e3 + time[1] / 1e6
}