JSPM

convert-hrtime

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2292354
  • Score
    100M100P100Q216272F
  • 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 convert-hrtime

Usage

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

convertHrtime(process.hrtime(process.hrtime()));
//=> {seconds: 0.000002399, milliseconds: 0.002399, nanoseconds: 2399}

License

MIT © Sindre Sorhus