bare-hrtime

2.0.5 • Public • Published

bare-hrtime

High-resolution timers for JavaScript.

npm i bare-hrtime

Usage

const hrtime = require('bare-hrtime')

hrtime() // returns [seconds, nanoseconds]
hrtime.bigint() // returns nanoseconds

License

Apache-2.0

Readme

Keywords

none

Package Sidebar

Install

npm i bare-hrtime

Weekly Downloads

287

Version

2.0.5

License

Apache-2.0

Unpacked Size

254 kB

Total Files

12

Last publish

Collaborators

  • mafintosh
  • kasperisager