$ npm install bare-hrtime
High-resolution timers for JavaScript.
npm i bare-hrtime
const hrtime = require('bare-hrtime')
hrtime() // returns [seconds, nanoseconds]
hrtime.bigint() // returns nanoseconds
Apache-2.0
© 2010 - cnpmjs.org x YWFE | Home | YWFE