cmux/node_modules/convert-hrtime
2026-01-29 17:36:26 -08:00
..
index.d.ts Update app and tooling 2026-01-29 17:36:26 -08:00
index.js Update app and tooling 2026-01-29 17:36:26 -08:00
license Update app and tooling 2026-01-29 17:36:26 -08:00
package.json Update app and tooling 2026-01-29 17:36:26 -08:00
readme.md Update app and tooling 2026-01-29 17:36:26 -08:00

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