{"_attachments":{},"_id":"browser-process-hrtime","_rev":"4324-61f14ff5830fd08f52a3a926","author":{"name":"kumavis"},"description":"Shim for process.hrtime in the browser","dist-tags":{"latest":"1.0.0"},"license":"BSD-2-Clause","maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"name":"browser-process-hrtime","readme":"# browser-process-hrtime\n\nBrowser shim for Node.js `process.hrtime()`.\nSee [documentation at nodejs.org](http://nodejs.org/api/process.html#process_process_hrtime)\n\nThis module does not provide the same level of time precision as node.js, but provides a matching API and response format.\n\n### usage\nUse hrtime independent of environment (node or browser).\nIt will use `process.hrtime` first and fallback if not present.\n```js\nconst hrtime = require('browser-process-hrtime')\nconst start = hrtime()\n// ...\nconst delta = hrtime(start)\n```\n\n### monkey-patching\nYou can monkey-patch `process.hrtime` for your dependency graph like this:\n```js\nprocess.hrtime = require('browser-process-hrtime')\nconst coolTool = require('module-that-uses-hrtime-somewhere-in-its-depths')\n```\n\n### note\nThis was originally pull-requested against [node-process](https://github.com/defunctzombie/node-process),\nbut they are trying to stay lean.\n","time":{"created":"2022-01-26T13:43:17.787Z","modified":"2023-07-28T03:42:44.204Z","1.0.0":"2018-09-23T07:19:44.502Z","0.1.3":"2018-09-23T06:51:40.907Z","0.1.2":"2015-08-05T00:24:15.953Z","0.1.1":"2015-02-13T16:45:31.026Z","0.1.0":"2015-02-13T04:05:35.290Z","0.0.3":"2014-09-27T00:42:02.029Z","0.0.2":"2014-01-12T17:45:19.626Z","0.0.1":"2014-01-11T18:52:47.261Z"},"versions":{"1.0.0":{"name":"browser-process-hrtime","version":"1.0.0","description":"Shim for process.hrtime in the browser","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"author":{"name":"kumavis"},"license":"BSD-2-Clause","gitHead":"38920d3d06ddecf0ad1b51f0f6872db946e3c035","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"homepage":"https://github.com/kumavis/browser-process-hrtime#readme","_id":"browser-process-hrtime@1.0.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"dist":{"shasum":"3c9b4b7d782c8121e56f10106d84c0d0ffc94626","size":1887,"noattachment":false,"tarball":"https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz","integrity":"sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow=="},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-process-hrtime_1.0.0_1537687184332_0.36244783445173345"},"_hasShrinkwrap":false,"publish_time":1537687184502,"_cnpm_publish_time":1537687184502,"_cnpmcore_publish_time":"2021-12-16T10:30:11.892Z"},"0.1.3":{"name":"browser-process-hrtime","version":"0.1.3","description":"Shim for process.hrtime in the browser","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"author":{"name":"kumavis"},"license":"BSD-2-Clause","gitHead":"63c800b1cc3749d10d697e91456d74d0b34fcf9e","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"homepage":"https://github.com/kumavis/browser-process-hrtime#readme","_id":"browser-process-hrtime@0.1.3","_npmVersion":"6.3.0","_nodeVersion":"8.11.3","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"dist":{"shasum":"616f00faef1df7ec1b5bf9cfe2bdc3170f26c7b4","size":1746,"noattachment":false,"tarball":"https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz","integrity":"sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw=="},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-process-hrtime_0.1.3_1537685500765_0.6758808049304958"},"_hasShrinkwrap":false,"publish_time":1537685500907,"_cnpm_publish_time":1537685500907,"_cnpmcore_publish_time":"2021-12-16T10:30:12.060Z"},"0.1.2":{"name":"browser-process-hrtime","version":"0.1.2","description":"Shim for process.hrtime in the browser","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"author":{"name":"kumavis"},"license":"BSD-2-Clause","gitHead":"4ad64b52ed94f857735548b68e3535df134ff587","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"homepage":"https://github.com/kumavis/browser-process-hrtime#readme","_id":"browser-process-hrtime@0.1.2","_shasum":"425d68a58d3447f02a04aa894187fce8af8b7b8e","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"dist":{"shasum":"425d68a58d3447f02a04aa894187fce8af8b7b8e","size":1303,"noattachment":false,"tarball":"https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz","integrity":"sha512-Ceq8IlrEQ38T8tlKS6sCYIcOn6qwkFyAnjCcvoqt0mvu25lxTeJXc6NcOmh90ZiNn3zlWXHX+4bPy/vOq8HCDA=="},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"directories":{},"publish_time":1438734255953,"_hasShrinkwrap":false,"_cnpm_publish_time":1438734255953,"_cnpmcore_publish_time":"2021-12-16T10:30:12.264Z"},"0.1.1":{"name":"browser-process-hrtime","version":"0.1.1","description":"Shim for process.hrtime in the browser","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"author":{"name":"kumavis"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"_id":"browser-process-hrtime@0.1.1","dist":{"shasum":"427aece3e0c9456b695814183916377d66050163","size":1317,"noattachment":false,"tarball":"https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-0.1.1.tgz","integrity":"sha512-F6HpyCxfG9hinQ1YAS3t4/Jd7NLXJj7S6hrZTTprdi/i6a8wBL1z0juUS/ZB7YorOJCfixPzLCDyVZv6h4iZuw=="},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"directories":{},"publish_time":1423845931026,"_hasShrinkwrap":false,"_cnpm_publish_time":1423845931026,"_cnpmcore_publish_time":"2021-12-16T10:30:12.475Z"},"0.1.0":{"name":"browser-process-hrtime","version":"0.1.0","description":"Shim for process.hrtime in the browser","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"author":{"name":"kumavis"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"_id":"browser-process-hrtime@0.1.0","dist":{"shasum":"2d2e1f9bd93b76bb87167acf6212ea3706a79b13","size":1310,"noattachment":false,"tarball":"https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-0.1.0.tgz","integrity":"sha512-tHqyT2xEas2xYNutcFsWE1BmZMgcLxZb7ynnylVmMbn/sWnZDDH4jE+bJDm75yvEh9GUQUgatEDKmoGhMU66oA=="},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"directories":{},"publish_time":1423800335290,"_hasShrinkwrap":false,"_cnpm_publish_time":1423800335290,"_cnpmcore_publish_time":"2021-12-16T10:30:12.688Z"},"0.0.3":{"name":"browser-process-hrtime","version":"0.0.3","description":"Shim for process.hrtime in the browser","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"author":{"name":"kumavis"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"_id":"browser-process-hrtime@0.0.3","dist":{"shasum":"3daade9497c2580a51f1144d5426fa63d4f55b31","size":1218,"noattachment":false,"tarball":"https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-0.0.3.tgz","integrity":"sha512-QcpZlBquREAYvjvusvIvEKWxKJrBMF9eEfFH0DfIe608zAXAzsax0NDU6mtJTAw9AroSHiByNz9tfVzKmMsZMw=="},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"directories":{},"publish_time":1411778522029,"_hasShrinkwrap":false,"_cnpm_publish_time":1411778522029,"_cnpmcore_publish_time":"2021-12-16T10:30:12.890Z"},"0.0.2":{"name":"browser-process-hrtime","version":"0.0.2","description":"Shim for process.hrtime in the browser","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"author":{"name":"kumavis"},"license":"BSD-2-Clause","readmeFilename":"README.md","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"_id":"browser-process-hrtime@0.0.2","dist":{"shasum":"d85827130b48fbdbcfa72071860fdae5e4ff9526","size":1219,"noattachment":false,"tarball":"https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-0.0.2.tgz","integrity":"sha512-Q+LrcbXwlLzJPJnaYwB0SE8l90dmz/w/CU2QiuDLSwjcvYmMnEaTIkmGeIZJ+yOv2Hz9QasDDB9hTIZ4jhAcVQ=="},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"directories":{},"publish_time":1389548719626,"_hasShrinkwrap":false,"_cnpm_publish_time":1389548719626,"_cnpmcore_publish_time":"2021-12-16T10:30:13.091Z"},"0.0.1":{"name":"browser-process-hrtime","version":"0.0.1","description":"Shim for process.hrtime in the browser","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"author":{"name":"kumavis"},"license":"BSD-2-Clause","readmeFilename":"README.md","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"_id":"browser-process-hrtime@0.0.1","dist":{"shasum":"686d7c27383b9cf06bb072341c321b626854c76e","size":1219,"noattachment":false,"tarball":"https://registry.npmmirror.com/browser-process-hrtime/-/browser-process-hrtime-0.0.1.tgz","integrity":"sha512-IfuoWFyA5p7H9Fsh9YasJTywAJ51FkeFIg3QeeunykeXWeFdKoR6wTrAT3Au8UuvPexTx+pYkETGnKrA1r3d4A=="},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"directories":{},"publish_time":1389466367261,"_hasShrinkwrap":false,"_cnpm_publish_time":1389466367261,"_cnpmcore_publish_time":"2021-12-16T10:30:13.316Z"}},"bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"homepage":"https://github.com/kumavis/browser-process-hrtime#readme","repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"_source_registry_name":"default"}