JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 47517
  • Score
    100M100P100Q156752F
  • License Apache-2.0

High-resolution timers for JavaScript

Package Exports

  • bare-hrtime
  • bare-hrtime/index.js

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 (bare-hrtime) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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