mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-04 15:56:24 +02:00
convert-hrtime 
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