JSPM

convert-hrtime

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2359226
  • Score
    100M100P100Q209700F
  • License MIT

Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds

Package Exports

  • convert-hrtime

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

Readme

convert-hrtime Build Status

Convert the result of process.hrtime() to seconds, milliseconds, nanoseconds

Install

$ npm install --save convert-hrtime

Usage

const convertHrtime = require('convert-hrtime');

convertHrtime(process.hrtime(process.hrtime()));
//=> {s: 0.000002399, ms: 0.002399, ns: 2399}

License

MIT © Sindre Sorhus