{"_id":"convert-hrtime","_rev":"10-ce0e6df08224639dda9e8ccd28c37e90","name":"convert-hrtime","description":"Convert the result of `process.hrtime.bigint()` to seconds, milliseconds, nanoseconds","dist-tags":{"latest":"5.0.0"},"versions":{"1.0.0":{"name":"convert-hrtime","version":"1.0.0","description":"Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/convert-hrtime.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["process","hrtime","time","highres","perf","performance","bench","benchmark","measure","seconds","milliseconds","nanoseconds"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"ed4b6f39da5b6956f3bc581e41b5ef2b0340e8e7","bugs":{"url":"https://github.com/sindresorhus/convert-hrtime/issues"},"homepage":"https://github.com/sindresorhus/convert-hrtime#readme","_id":"convert-hrtime@1.0.0","_shasum":"6b466d53f6df1b658f496575cd9a48262a5ca557","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6b466d53f6df1b658f496575cd9a48262a5ca557","tarball":"https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-1.0.0.tgz","integrity":"sha512-cJ/BTM3L6DEMWotc6o145UqSG9d0hLBqq5UkvokBHtSF1nH0T3QBa/Us6y3GPPIBvSWxycMhs+Z//UZUlBv1mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKsl6XlI/XuUjU+6Gfko+ZusfuPuUqr80NmfZLH/hYowIgJD5UQkxrAj8j8Qbtlh+s/tP3m1Cisdk8mdIcvwGeu0Y="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"convert-hrtime","version":"2.0.0","description":"Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/convert-hrtime.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["process","hrtime","time","highres","perf","performance","bench","benchmark","measure","seconds","milliseconds","nanoseconds"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"1c4a3a29c1a521820583dc4f63a3f4eda78f8552","bugs":{"url":"https://github.com/sindresorhus/convert-hrtime/issues"},"homepage":"https://github.com/sindresorhus/convert-hrtime#readme","_id":"convert-hrtime@2.0.0","_shasum":"19bfb2c9162f9e11c2f04c2c79de2b7e8095c627","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"19bfb2c9162f9e11c2f04c2c79de2b7e8095c627","tarball":"https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-2.0.0.tgz","integrity":"sha512-yDqabFVYEYlq5sSgg7bNFktjySVQjyXy1Rhv7HWyPVb+Qd/dQNev80wP1D/LkCd0gNpi3Z6GPhqsvUsNHF6sUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD29vdxlbHMtD6PnM3ZbC12TZpeDf+e27YMwMF80f+l3gIhAJQclJqe1j0MppTnQQ+rrvNXGm58OHxFK9z7ScTQ+QPG"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/convert-hrtime-2.0.0.tgz_1495519157011_0.7980234669521451"},"directories":{}},"3.0.0":{"name":"convert-hrtime","version":"3.0.0","description":"Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/convert-hrtime.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["process","hrtime","time","highres","perf","performance","bench","benchmark","measure","seconds","milliseconds","nanoseconds"],"devDependencies":{"@types/node":"^11.13.2","ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"a83280442033d1dfa693ddc63cd86c20794f205f","bugs":{"url":"https://github.com/sindresorhus/convert-hrtime/issues"},"homepage":"https://github.com/sindresorhus/convert-hrtime#readme","_id":"convert-hrtime@3.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-7V+KqSvMiHp8yWDuwfww06XleMWVVB9b9tURBx+G7UTADuo5hYPuowKloz4OzOqbPezxgo+fdQ1522WzPG4OeA==","shasum":"62c7593f5809ca10be8da858a6d2f702bcda00aa","tarball":"https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-3.0.0.tgz","fileCount":5,"unpackedSize":3265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrDGgCRA9TVsSAnZWagAAFXQP/3R8khs04gOG/x8bJoZ7\n5IS7u4yckg4d5rmMKzQ4RON4xz9NLx0w9rKakN93VK+TB7+GQjCl9Fl8GM3x\njEXrDTSfp1tAFcATVd9PHkyKUknBC2YwanbtIe68L1G8QUYqJ+u6lA2c/AdW\n15fEz9G8mQa3X15dv882xl2U4Xd5o9Z7VbNy9q4utwuO1fVGjuTQyY7jckLe\n86+5y33NH/GJRYhxGI1ozbG+HhKE5CUkRpSGdCT1OwB0UP9TOULao3NQFbYn\neeXdFjiuTqviTO73/YTxGAOobOKYzL5JdKvs+0HBukOGar68dCUfMaN9P2UV\nhzJ/gaJBnZfTdzXNioH7u4k8xAW8anAgGn/yozYtRDepbPfyE0EBUjXC4U03\nR6hZ8LlNpJt4/So9OCenQLFbgBMB6K58wOegJ1g/7njhsyrFuD7Jn7QUzY7d\nqZJ6b63Df+AHZylfAFS0roY83Ngb9ySetRL80HeCZ0KZ1EyY+qamTGmHzRLB\noKf8IMQ8nBQb3WtRgHjJVO5V61bJNQUBN2jzJEQbjBAPsj1ju05fgOQU/Y23\ne3xpdgfvBXFttbKxrOeyYFHWl9UkDIDt0XsPKAFd9VKJJFbT18Pxi38EIj7L\nnS1EDavNY/pd7ChjbrariNNYyytxxIh1OMTy5qwEwdIVcmKLXxszMuPmifKE\ne38e\r\n=k/yx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBB+kZjqbS+z0MbcUY/sRfvPCdkf34ZBBdmfXBFNGPTyAiA9z75unHZNESLI+SGfiRh88jYXfN1fITbzysLjdVx28Q=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/convert-hrtime_3.0.0_1554788768082_0.04219890973629137"},"_hasShrinkwrap":false},"4.0.0":{"name":"convert-hrtime","version":"4.0.0","description":"Convert the result of `process.hrtime.bigint()` to seconds, milliseconds, nanoseconds","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/convert-hrtime.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["process","hrtime","time","highres","performance","bench","benchmark","measure","seconds","milliseconds","nanoseconds"],"devDependencies":{"@types/node":"^14.14.37","ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"e2f8fae2c50c507aa77c9ef89419a0c4dd3aed34","bugs":{"url":"https://github.com/sindresorhus/convert-hrtime/issues"},"homepage":"https://github.com/sindresorhus/convert-hrtime#readme","_id":"convert-hrtime@4.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-2cSheCjPS0ens9ZmdCf9Hi+Axw7eqOau4rK+U3N6W13lpmNIjm8HZPE7sTGjKX+iPaWjo1heJ3ydN+t4eRkAJQ==","shasum":"7aad75f91d64a1550e95f58d72a2c211092067a5","tarball":"https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-4.0.0.tgz","fileCount":5,"unpackedSize":3308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbfeaCRA9TVsSAnZWagAA7zsQAJ38WiV0q1KIRdbkdXNN\nXQ2yE+FRnbwyxZv8LY11slsmn25NFFHabGmF2MESmrossYm3qjxPpTEwkYq5\nm7kZgfK2lts4/xEORwA3DvgqP/NzTPm8Qc/Kpd/Ox2v2hJXCxxMDUuAlM9vx\nm67wr1+MaOgadjLqo/9O/9DzWMilUQ5xKP5gm8MLdA5n1Rm4XM5+jHiFpqLb\n0La+drz3UANsQWVy93FMC75tfD8AJsFurFlMYHlK9jCK5OCKUaJEqZR+bjZ9\n4LU0+B/q9Ah2ftdiZc3a+oG79eyBVn8m3sQBAL1MJ1mlZO4ARj02DvAnjN8m\nh/HaE477LkmsXzUwXWUg66P6nmZKIxiQ05d1Dypo94vzPBqtbXf3W9M5JmjJ\ncq2ElrxUWcWaTQAhgCKjh4QPV/OVhhRW1dP2Tpu3UQXGFfkgfJY/QDOf5IXP\nEwV/VlneYZpMcOa5AaLEvy7JqxkdwfV9XJPSMU3PDQfJAbpDPQL9rEBdU6CS\nsfZpvzJIPk+PJTSaMx/ulqRTGZpkDzEFSUN/6ttN8HSR29n2Rhkp0zfgeP55\nshxzmspzk7goXVzfQ9ht3mlPieZuCktwB/49GXTw5T1ySi+0xQu/WahXv+PC\ncNNE0rCvO0ABksyWv9eHOz+wZFqRewMCXaW6LsvkyBeE4A6JFkZES1RZs0Uk\nqCuG\r\n=UG49\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTA+uIr7QnDKO8YFQmUHf/DyJ8/plLsS8ikXNkvrrEpAiBEsL4WgeWg0lDyXVCkDNur/U9flvu9dtpyzZDmFWKp5Q=="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/convert-hrtime_4.0.0_1617819546314_0.23079980469665307"},"_hasShrinkwrap":false},"5.0.0":{"name":"convert-hrtime","version":"5.0.0","description":"Convert the result of `process.hrtime.bigint()` to seconds, milliseconds, nanoseconds","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/convert-hrtime.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["process","hrtime","time","highres","performance","bench","benchmark","measure","seconds","milliseconds","nanoseconds"],"devDependencies":{"@types/node":"^14.14.37","ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"d5e2dd5f3d092f5d1d44efaa7dc2c3dca694863b","bugs":{"url":"https://github.com/sindresorhus/convert-hrtime/issues"},"homepage":"https://github.com/sindresorhus/convert-hrtime#readme","_id":"convert-hrtime@5.0.0","_nodeVersion":"15.12.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-lOETlkIeYSJWcbbcvjRKGxVMXJR+8+OQb/mTPbA4ObPMytYIsUbuOE0Jzy60hjARYszq1id0j8KgVhC+WGZVTg==","shasum":"f2131236d4598b95de856926a67100a0a97e9fa3","tarball":"https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-5.0.0.tgz","fileCount":5,"unpackedSize":3335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdppKCRA9TVsSAnZWagAADGkP/1cyIqZUbsxym782D8Pt\nMYNskLaGQlIL4dml14WAUGZK8qEQ+wogxO4RVAj/JKqL223U+rkEUPQAAZLW\nbLsZHFyZOSLmZdJgVQc5ZrfclqNdm670H6w+NHZ0AHhf5ZNW8MXIJxm/QSC3\nf2fodn3TBB7RWLj2PutMN0Q3zQ9JgkxkK92aao4B1HBp+tknpW9omgvRz6Uq\nLFzSwgJAkoxUPK99/tPuJU9U25XP6Oe2h+paffFDjAy2/swEXmA1ohj8U12n\nt+DLGbWBfKJxr4ZJ0yeW6052WHQqUk0jZz9Nk6Mjw9FAQJOj3+srYR1BK2IB\n6SJLJBURhX+Ns/QybHBywVLKwh3Y5JCfQSzhNPN3pi3gxF12jRiG461Vuzf9\nY5pnaawm8Y23YrphYQRwjTuxPlE2U90hg3a9J/oTlzyY5x864MDVNmZ7r9CQ\nDSwkBOhyfbK5s/2VUa7Y9DvFAd+dlhdX6DgUj7m2D4EqLw2tTuvzD8msmn5m\nE8e67/LEM0GuVolr2wxg3Rn9uIGZ6hqN/P1qvwXK6JyEEEmeoVGs/3IzSCN/\nALkUTlawT7GGvpD+lAxsC+bUGlWNHV9RiU9GFCM1DY7nNDXuc9tylEDOqL0E\nYyW6IJnUiRPfu0NKY1jhN+X2aoGcpAwdrewCpgFIDJkC2Jg/Q1Azzs5etlRw\n/V3T\r\n=WD4q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh3pnbKsabTvrTyR0hxgn+JBi+2KqIPm2vEKcKilMuWQIhALt6vFI9b/fOdLOPcnKnbQiN2LLcudAva98gbD19TUqM"}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/convert-hrtime_5.0.0_1618385482073_0.8417174348244545"},"_hasShrinkwrap":false}},"readme":"# convert-hrtime\n\n> Convert the result of [`process.hrtime.bigint()`](https://nodejs.org/api/process.html#process_process_hrtime_bigint) to seconds, milliseconds, nanoseconds\n\n## Install\n\n```\n$ npm install convert-hrtime\n```\n\n## Usage\n\n```js\nimport convertHrtime from 'convert-hrtime';\n\nconst startTime = process.hrtime.bigint();\nexpensiveCalculation();\nconst diff = process.hrtime.bigint() - startTime;\n\nconvertHrtime(diff);\n//=> {seconds: 0.000002399, milliseconds: 0.002399, nanoseconds: 2399n}\n```\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-07-09T22:10:45.828Z","created":"2015-12-10T19:55:33.074Z","1.0.0":"2015-12-10T19:55:33.074Z","2.0.0":"2017-05-23T05:59:17.115Z","3.0.0":"2019-04-09T05:46:08.200Z","4.0.0":"2021-04-07T18:19:06.439Z","5.0.0":"2021-04-14T07:31:22.271Z"},"homepage":"https://github.com/sindresorhus/convert-hrtime#readme","keywords":["process","hrtime","time","highres","performance","bench","benchmark","measure","seconds","milliseconds","nanoseconds"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/convert-hrtime.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/convert-hrtime/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"focusaurus":true,"flumpus-dev":true}}