{"_id":"pretty-hrtime","_rev":"69584","name":"pretty-hrtime","description":"process.hrtime() to words","dist-tags":{"latest":"1.0.3"},"maintainers":[{"name":"robrich","email":"robrich@robrich.org"}],"time":{"modified":"2021-06-03T10:23:02.000Z","created":"2013-12-09T20:49:46.352Z","1.0.3":"2016-11-05T19:38:49.433Z","1.0.2":"2016-02-18T04:59:40.439Z","1.0.1":"2015-09-30T01:55:36.310Z","1.0.0":"2015-01-01T03:31:43.426Z","0.2.2":"2014-10-02T22:46:07.239Z","0.2.1":"2014-03-06T04:51:40.066Z","0.2.0":"2013-12-09T20:49:46.352Z"},"users":{"knstr":true,"simplyianm":true,"sametsisartenep":true,"antouank":true,"burl.bn":true,"pragmadash":true,"iolo":true,"edloidas":true,"kirilv":true,"pragmader":true,"jb_sulli":true,"demian_dark":true,"antixrist":true,"oldfish":true,"goulash1971":true,"demon-php":true,"drewigg":true,"zuojiang":true},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"versions":{"1.0.3":{"name":"pretty-hrtime","description":"process.hrtime() to words","version":"1.0.3","homepage":"https://github.com/robrich/pretty-hrtime","repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["hrtime","benchmark"],"devDependencies":{"jshint":"^2.9.4","mocha":"^3.1.2","should":"^11.1.1"},"scripts":{"test":"mocha && jshint ."},"engines":{"node":">= 0.8"},"license":"MIT","gitHead":"fc030888103dff4a22004935ce4d15dd8f34a956","bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"_id":"pretty-hrtime@1.0.3","_shasum":"b7e3ea42435a4c9b2759d99e0f201eb195802ee1","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"robrich","email":"robrich@robrich.org"},"maintainers":[{"name":"robrich","email":"robrich@robrich.org"}],"dist":{"shasum":"b7e3ea42435a4c9b2759d99e0f201eb195802ee1","size":2671,"noattachment":false,"key":"/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hrtime/download/pretty-hrtime-1.0.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pretty-hrtime-1.0.3.tgz_1478374729207_0.19822899298742414"},"directories":{},"publish_time":1478374729433,"_cnpm_publish_time":1478374729433,"_hasShrinkwrap":false},"1.0.2":{"name":"pretty-hrtime","description":"process.hrtime() to words","version":"1.0.2","homepage":"https://github.com/robrich/pretty-hrtime","repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["hrtime","benchmark"],"devDependencies":{"jshint":"^2.8.0","mocha":"^2.3.3","should":"^7.1.0"},"scripts":{"test":"mocha && jshint ."},"engines":{"node":">= 0.8"},"license":"MIT","gitHead":"3ac6e19e8d9cc65e29ce9e45e81fc4f331d4a71a","bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"_id":"pretty-hrtime@1.0.2","_shasum":"70ca96f4d0628a443b918758f79416a9a7bc9fa8","_from":".","_npmVersion":"2.14.18","_nodeVersion":"4.3.0","_npmUser":{"name":"robrich","email":"robrich@robrich.org"},"maintainers":[{"name":"robrich","email":"robrich@robrich.org"}],"dist":{"shasum":"70ca96f4d0628a443b918758f79416a9a7bc9fa8","size":2667,"noattachment":false,"key":"/pretty-hrtime/-/pretty-hrtime-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hrtime/download/pretty-hrtime-1.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/pretty-hrtime-1.0.2.tgz_1455771577547_0.672698044218123"},"directories":{},"publish_time":1455771580439,"_cnpm_publish_time":1455771580439,"_hasShrinkwrap":false},"1.0.1":{"name":"pretty-hrtime","description":"process.hrtime() to words","version":"1.0.1","homepage":"https://github.com/robrich/pretty-hrtime","repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["hrtime","benchmark"],"devDependencies":{"jshint":"^2.8.0","mocha":"^2.3.3","should":"^7.1.0"},"scripts":{"test":"mocha && jshint ."},"engines":{"node":">= 0.8"},"license":"MIT","gitHead":"b753762076862bc745f929735a159e2770558926","bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"_id":"pretty-hrtime@1.0.1","_shasum":"1e4f952a6dd71e79199b3a73f25d7997b694ba83","_from":".","_npmVersion":"2.13.1","_nodeVersion":"4.1.1","_npmUser":{"name":"robrich","email":"robrich@robrich.org"},"maintainers":[{"name":"robrich","email":"robrich@robrich.org"}],"dist":{"shasum":"1e4f952a6dd71e79199b3a73f25d7997b694ba83","size":2559,"noattachment":false,"key":"/pretty-hrtime/-/pretty-hrtime-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hrtime/download/pretty-hrtime-1.0.1.tgz"},"directories":{},"publish_time":1443578136310,"_cnpm_publish_time":1443578136310,"_hasShrinkwrap":false},"1.0.0":{"name":"pretty-hrtime","description":"process.hrtime() to words","version":"1.0.0","homepage":"https://github.com/robrich/pretty-hrtime","repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["hrtime","benchmark"],"devDependencies":{"mocha":"^2.1.0","should":"^4.4.2"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.8"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/pretty-hrtime/raw/master/LICENSE"}],"gitHead":"6bbed5f5e7ff2a1ba63c51beb720c4db4d65e4b4","bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"_id":"pretty-hrtime@1.0.0","_shasum":"f6e6a522d3e60704522bf0dbe6856ed20e75e4dc","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.35","_npmUser":{"name":"robrich","email":"robrich@robrich.org"},"maintainers":[{"name":"robrich","email":"robrich@robrich.org"}],"dist":{"shasum":"f6e6a522d3e60704522bf0dbe6856ed20e75e4dc","size":2534,"noattachment":false,"key":"/pretty-hrtime/-/pretty-hrtime-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hrtime/download/pretty-hrtime-1.0.0.tgz"},"directories":{},"publish_time":1420083103426,"_cnpm_publish_time":1420083103426,"_hasShrinkwrap":false},"0.2.2":{"name":"pretty-hrtime","description":"process.hrtime() to words","version":"0.2.2","homepage":"https://github.com/robrich/pretty-hrtime","repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["hrtime","benchmark"],"devDependencies":{"mocha":"^1.21.4","should":"^4.0.4"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.8"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/orchestrator/raw/master/LICENSE"}],"gitHead":"211fa4b0a508f65b40b1203074fc0c1d6ecba17a","bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"_id":"pretty-hrtime@0.2.2","_shasum":"d4fd88351e3a4741f8173af7d6a4b846f9895c00","_from":".","_npmVersion":"1.5.0-alpha-4","_npmUser":{"name":"robrich","email":"robrich@robrich.org"},"maintainers":[{"name":"robrich","email":"robrich@robrich.org"}],"dist":{"shasum":"d4fd88351e3a4741f8173af7d6a4b846f9895c00","size":2542,"noattachment":false,"key":"/pretty-hrtime/-/pretty-hrtime-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hrtime/download/pretty-hrtime-0.2.2.tgz"},"directories":{},"publish_time":1412289967239,"_cnpm_publish_time":1412289967239,"_hasShrinkwrap":false},"0.2.1":{"name":"pretty-hrtime","description":"process.hrtime() to words","version":"0.2.1","homepage":"https://github.com/robrich/pretty-hrtime","repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["hrtime","benchmark"],"devDependencies":{"mocha":"~1.17.1","should":"~3.1.3"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.8"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/orchestrator/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"_id":"pretty-hrtime@0.2.1","dist":{"shasum":"f341d39215fa5f7bff50af7d8572f8d4ec9d12f6","size":2512,"noattachment":false,"key":"/pretty-hrtime/-/pretty-hrtime-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hrtime/download/pretty-hrtime-0.2.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"robrich","email":"robrich@robrich.org"},"maintainers":[{"name":"robrich","email":"robrich@robrich.org"}],"directories":{},"publish_time":1394081500066,"_hasShrinkwrap":false,"_cnpm_publish_time":1394081500066},"0.2.0":{"name":"pretty-hrtime","description":"process.hrtime() to words","version":"0.2.0","homepage":"https://github.com/robrich/pretty-hrtime","repository":{"type":"git","url":"git://github.com/robrich/pretty-hrtime.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["hrtime","benchmark"],"devDependencies":{"mocha":"~1.15.1","should":"~2.1.1"},"scripts":{"test":"mocha"},"engines":{"node":">= 0.8"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/orchestrator/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"_id":"pretty-hrtime@0.2.0","dist":{"shasum":"71a782bf15642a895d83e6f6a425e0ad99cb8539","size":2465,"noattachment":false,"key":"/pretty-hrtime/-/pretty-hrtime-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-hrtime/download/pretty-hrtime-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"robrich","email":"robrich@robrich.org"},"maintainers":[{"name":"robrich","email":"robrich@robrich.org"}],"directories":{},"publish_time":1386622186352,"_hasShrinkwrap":false,"_cnpm_publish_time":1386622186352}},"readme":"[![Build Status](https://secure.travis-ci.org/robrich/pretty-hrtime.png?branch=master)](https://travis-ci.org/robrich/pretty-hrtime)\r\n[![Dependency Status](https://david-dm.org/robrich/pretty-hrtime.png)](https://david-dm.org/robrich/pretty-hrtime)\r\n\r\npretty-hrtime\r\n============\r\n\r\n[process.hrtime()](http://nodejs.org/api/process.html#process_process_hrtime) to words\r\n\r\nUsage\r\n-----\r\n\r\n```javascript\r\nvar prettyHrtime = require('pretty-hrtime');\r\n\r\nvar start = process.hrtime();\r\n// do stuff\r\nvar end = process.hrtime(start);\r\n\r\nvar words = prettyHrtime(end);\r\nconsole.log(words); // '1.2 ms'\r\n\r\nwords = prettyHrtime(end, {verbose:true});\r\nconsole.log(words); // '1 millisecond 209 microseconds'\r\n\r\nwords = prettyHrtime(end, {precise:true});\r\nconsole.log(words); // '1.20958 ms'\r\n```\r\n\r\nNote: process.hrtime() has been available since 0.7.6.\r\nSee [http://nodejs.org/changelog.html](http://nodejs.org/changelog.html)\r\nand [https://github.com/joyent/node/commit/f06abd](https://github.com/joyent/node/commit/f06abd).\r\n\r\nLICENSE\r\n-------\r\n\r\n(MIT License)\r\n\r\nCopyright (c) 2013 [Richardson & Sons, LLC](http://richardsonandsons.com/)\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining\r\na copy of this software and associated documentation files (the\r\n\"Software\"), to deal in the Software without restriction, including\r\nwithout limitation the rights to use, copy, modify, merge, publish,\r\ndistribute, sublicense, and/or sell copies of the Software, and to\r\npermit persons to whom the Software is furnished to do so, subject to\r\nthe following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be\r\nincluded in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n","_attachments":{},"homepage":"https://github.com/robrich/pretty-hrtime","bugs":{"url":"https://github.com/robrich/pretty-hrtime/issues"},"license":"MIT"}