difference-hrtime
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

difference-hrtime

Package to calculate the difference between two process hrtime

Install

npm install --save difference-hrtime

Usage

const process = require('process');
const diff = require('difference-hrtime').default;

const start = process.hrtime();

// Do something

const end = process.hrtime();

console.log('Difference', diff(start, end));
// expected output: [number, number]

License

MIT

Author

Alton Bell Smythe Toncho Dev

Readme

Keywords

Package Sidebar

Install

npm i difference-hrtime

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.53 kB

Total Files

4

Last publish

Collaborators

  • abellsmythe