{"_id":"browser-process-hrtime","_rev":"88933","name":"browser-process-hrtime","description":"Shim for process.hrtime in the browser","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"time":{"modified":"2021-06-03T10:28:56.000Z","created":"2014-01-11T18:52:47.261Z","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"},"users":{"pragmadash":true,"joris-van-der-wel":true},"author":{"name":"kumavis"},"repository":{"type":"git","url":"git://github.com/kumavis/browser-process-hrtime.git"},"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,"key":"/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/browser-process-hrtime/download/browser-process-hrtime-1.0.0.tgz"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"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},"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,"key":"/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/browser-process-hrtime/download/browser-process-hrtime-0.1.3.tgz"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"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},"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,"key":"/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/browser-process-hrtime/download/browser-process-hrtime-0.1.2.tgz"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"directories":{},"publish_time":1438734255953,"_cnpm_publish_time":1438734255953,"_hasShrinkwrap":false},"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,"key":"/browser-process-hrtime/-/browser-process-hrtime-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/browser-process-hrtime/download/browser-process-hrtime-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"directories":{},"publish_time":1423845931026,"_cnpm_publish_time":1423845931026,"_hasShrinkwrap":false},"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,"key":"/browser-process-hrtime/-/browser-process-hrtime-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/browser-process-hrtime/download/browser-process-hrtime-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"directories":{},"publish_time":1423800335290,"_cnpm_publish_time":1423800335290,"_hasShrinkwrap":false},"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,"key":"/browser-process-hrtime/-/browser-process-hrtime-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/browser-process-hrtime/download/browser-process-hrtime-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"directories":{},"publish_time":1411778522029,"_cnpm_publish_time":1411778522029,"_hasShrinkwrap":false},"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,"key":"/browser-process-hrtime/-/browser-process-hrtime-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/browser-process-hrtime/download/browser-process-hrtime-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"directories":{},"publish_time":1389548719626,"_cnpm_publish_time":1389548719626,"_hasShrinkwrap":false},"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,"key":"/browser-process-hrtime/-/browser-process-hrtime-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/browser-process-hrtime/download/browser-process-hrtime-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"npm:kumavis","email":""}],"directories":{},"publish_time":1389466367261,"_cnpm_publish_time":1389466367261,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/kumavis/browser-process-hrtime#readme","bugs":{"url":"https://github.com/kumavis/browser-process-hrtime/issues"},"license":"BSD-2-Clause"}