{"_id":"pretty-ms","_rev":"4106587","name":"pretty-ms","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","dist-tags":{"latest":"9.3.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2026-01-11T18:55:44.000Z","created":"2014-03-20T14:38:54.663Z","9.3.0":"2025-09-15T10:58:51.548Z","9.2.0":"2024-11-15T09:37:27.878Z","9.1.0":"2024-07-23T23:34:58.971Z","9.0.0":"2024-01-18T12:10:55.479Z","8.0.0":"2022-06-06T12:51:22.754Z","7.0.1":"2020-09-24T09:37:39.213Z","7.0.0":"2020-04-27T14:25:36.082Z","6.0.1":"2020-03-02T13:00:46.753Z","6.0.0":"2020-02-12T20:04:54.812Z","5.1.0":"2019-11-22T06:50:54.237Z","5.0.0":"2019-04-24T03:12:40.818Z","4.0.0":"2018-09-18T16:28:47.501Z","3.2.0":"2018-05-25T17:47:01.031Z","3.1.0":"2017-11-20T11:17:49.041Z","3.0.1":"2017-09-22T05:36:47.203Z","3.0.0":"2017-07-15T16:44:04.092Z","2.1.0":"2015-10-20T08:25:02.802Z","2.0.0":"2015-07-26T19:34:40.176Z","1.4.0":"2015-07-07T12:39:04.087Z","1.3.0":"2015-06-26T17:46:31.015Z","1.2.1":"2015-06-24T09:42:55.718Z","1.2.0":"2015-06-22T15:21:22.668Z","1.1.0":"2015-03-10T10:12:13.471Z","1.0.1":"2015-02-16T17:59:27.881Z","1.0.0":"2014-08-22T12:35:54.211Z","0.2.2":"2014-04-30T22:40:44.201Z","0.2.1":"2014-04-16T20:48:19.753Z","0.1.0":"2014-03-20T14:38:54.663Z"},"users":{"fotomut":true,"alanbhamilton":true,"simloovoo":true,"kikobeats":true,"jamescostian":true,"itonyyo":true,"monolithed":true,"adius":true,"glebec":true,"zxbud":true,"ivangaravito":true,"martinkock":true,"mkoc":true,"abdihaikal":true,"restuta":true,"gleuck":true,"langri-sha":true,"santi8ago8":true,"rocket0191":true,"l3au":true,"goulash1971":true,"felegz":true,"shay-altman":true,"d3ck":true,"ash":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"versions":{"9.3.0":{"name":"pretty-ms","version":"9.3.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^4.0.0"},"devDependencies":{"ava":"^6.2.0","tsd":"^0.31.2","xo":"^0.59.3"},"_id":"pretty-ms@9.3.0","gitHead":"ab52d6aec3aea644a4f07ddab2928e2f39dd9941","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"dd2524fcb3c326b4931b2272dfd1e1a8ed9a9f5a","size":4280,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-9.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-9.3.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pretty-ms_9.3.0_1757933931375_0.7033924537978635"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-15T10:58:51.548Z","publish_time":1757933931548,"_source_registry_name":"default","_cnpm_publish_time":1757933931548},"9.2.0":{"name":"pretty-ms","version":"9.2.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^4.0.0"},"devDependencies":{"ava":"^6.2.0","tsd":"^0.31.2","xo":"^0.59.3"},"_id":"pretty-ms@9.2.0","gitHead":"3e851280acce1393bad97136f9fdf3c31a0d077d","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_nodeVersion":"18.20.4","_npmVersion":"10.6.0","dist":{"shasum":"e14c0aad6493b69ed63114442a84133d7e560ef0","size":4160,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-9.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-9.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_9.2.0_1731663447667_0.1797933600235362"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-15T09:37:27.878Z","publish_time":1731663447878,"_source_registry_name":"default","_cnpm_publish_time":1731663447878},"9.1.0":{"name":"pretty-ms","version":"9.1.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^4.0.0"},"devDependencies":{"ava":"^6.0.1","tsd":"^0.31.0","xo":"^0.58.0"},"_id":"pretty-ms@9.1.0","gitHead":"d00183f8a040315005452f6f6dec30c581b258a2","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_nodeVersion":"20.15.1","_npmVersion":"10.6.0","dist":{"shasum":"0ad44de6086454f48a168e5abb3c26f8db1b3253","size":3969,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-9.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-9.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_9.1.0_1721777698788_0.6584280649594705"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-23T23:34:58.971Z","publish_time":1721777698971,"_source_registry_name":"default","_cnpm_publish_time":1721777698971},"9.0.0":{"name":"pretty-ms","version":"9.0.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^4.0.0"},"devDependencies":{"ava":"^6.0.1","tsd":"^0.30.4","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"4cd09093c512e6377d233b49a6b5c36a0d1bed26","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@9.0.0","_nodeVersion":"21.5.0","_npmVersion":"9.2.0","dist":{"shasum":"53c57f81171c53be7ce3fd20bdd4265422bc5929","size":3897,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-9.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-9.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_9.0.0_1705579855322_0.6283397440715688"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-18T12:10:55.479Z","publish_time":1705579855479,"_source_registry_name":"default","_cnpm_publish_time":1705579855479},"8.0.0":{"name":"pretty-ms","version":"8.0.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^3.0.0"},"devDependencies":{"ava":"^4.3.0","tsd":"^0.20.0","xo":"^0.49.0"},"gitHead":"73389247d677dd83587b43bed255b6d38b4b65a7","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@8.0.0","_nodeVersion":"14.19.2","_npmVersion":"8.3.2","dist":{"shasum":"a35563b2a02df01e595538f86d7de54ca23194a3","size":3743,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-8.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_8.0.0_1654519882544_0.8218428184653492"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-06T12:51:26.810Z","publish_time":1654519882754,"_cnpm_publish_time":1654519882754},"7.0.1":{"name":"pretty-ms","version":"7.0.1","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^2.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.30.0"},"gitHead":"eda21362097d47ab309dca8cf07dc79b25fb0efa","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@7.0.1","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7d903eaab281f7d8e03c66f867e239dc32fb73e8","size":3815,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-7.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_7.0.1_1600940258551_0.9554426213043385"},"_hasShrinkwrap":false,"publish_time":1600940259213,"_cnpm_publish_time":1600940259213},"7.0.0":{"name":"pretty-ms","version":"7.0.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^2.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.30.0"},"gitHead":"540c8540d74e165a6674bbcf73695a98931a6fea","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@7.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"45781273110caf35f55cab21a8a9bd403a233dc0","size":3811,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-7.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_7.0.0_1587997535954_0.44978791425563935"},"_hasShrinkwrap":false,"publish_time":1587997536082,"_cnpm_publish_time":1587997536082},"6.0.1":{"name":"pretty-ms","version":"6.0.1","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^2.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"35c17e5401dab2c61fb7bc69a1518d6df6db8db5","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@6.0.1","_nodeVersion":"10.18.1","_npmVersion":"6.14.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"03ec6cfee20329f142645e63efad96bb775d3da4","size":3895,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-6.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_6.0.1_1583154046621_0.6761773347535212"},"_hasShrinkwrap":false,"publish_time":1583154046753,"_cnpm_publish_time":1583154046753},"6.0.0":{"name":"pretty-ms","version":"6.0.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^2.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"3862a59714a14f410686515d5ffea0dfb43f6c1a","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@6.0.0","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"39a0eb5f31d359bcee43c9579e6ddf4a02a82ff0","size":3876,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-6.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_6.0.0_1581537894711_0.5027990366922899"},"_hasShrinkwrap":false,"publish_time":1581537894812,"_cnpm_publish_time":1581537894812},"5.1.0":{"name":"pretty-ms","version":"5.1.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^2.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"7dcd14a8e7991a59fc2ca5156a5794038edee225","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@5.1.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b906bdd1ec9e9799995c372e2b1c34f073f95384","size":3720,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-5.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_5.1.0_1574405454117_0.7770582043742049"},"_hasShrinkwrap":false,"publish_time":1574405454237,"_cnpm_publish_time":1574405454237},"5.0.0":{"name":"pretty-ms","version":"5.0.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","number","hrtime"],"dependencies":{"parse-ms":"^2.1.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"bb2e28a5fa0104191fd9e8feb6504d83caf22ba5","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@5.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6133a8f55804b208e4728f6aa7bf01085e951e24","size":3312,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_5.0.0_1556075560651_0.08167906771688083"},"_hasShrinkwrap":false,"publish_time":1556075560818,"_cnpm_publish_time":1556075560818},"4.0.0":{"name":"pretty-ms","version":"4.0.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number","hrtime"],"dependencies":{"parse-ms":"^2.0.0"},"devDependencies":{"ava":"^0.25.0","xo":"^0.23.0"},"gitHead":"807ec6911e877cff63e9a26a42db8940fbc95c5d","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"31baf41b94fd02227098aaa03bd62608eb0d6e92","size":2961,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_4.0.0_1537288127331_0.07610084754224355"},"_hasShrinkwrap":false,"publish_time":1537288127501,"_cnpm_publish_time":1537288127501},"3.2.0":{"name":"pretty-ms","version":"3.2.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number","hrtime"],"dependencies":{"parse-ms":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"d31878eb63ba0bc7e405f8fc93b7ad2dae396e76","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@3.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"87a8feaf27fc18414d75441467d411d6e6098a25","size":2479,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-3.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms_3.2.0_1527270420911_0.10009732263641213"},"_hasShrinkwrap":false,"publish_time":1527270421031,"_cnpm_publish_time":1527270421031},"3.1.0":{"name":"pretty-ms","version":"3.1.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number","hrtime"],"dependencies":{"parse-ms":"^1.0.0","plur":"^2.1.2"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"47f794614febd25b1c448d4c0cdf29aac5d09722","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@3.1.0","_shasum":"e9cac9c76bf6ee52fe942dd9c6c4213153b12881","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e9cac9c76bf6ee52fe942dd9c6c4213153b12881","size":2468,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms-3.1.0.tgz_1511176668935_0.45204025064595044"},"directories":{},"publish_time":1511176669041,"_hasShrinkwrap":false,"_cnpm_publish_time":1511176669041},"3.0.1":{"name":"pretty-ms","version":"3.0.1","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number","hrtime"],"dependencies":{"parse-ms":"^1.0.0","plur":"^2.1.2"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"6112e362057f7d0b07e4b5b1d77c57374d0f6f4b","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@3.0.1","_shasum":"7c18b73c228a9b8f6edc2835a12cb8f7ed85f9f4","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7c18b73c228a9b8f6edc2835a12cb8f7ed85f9f4","size":2347,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-3.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms-3.0.1.tgz_1506058607003_0.08573126047849655"},"directories":{},"publish_time":1506058607203,"_hasShrinkwrap":false,"_cnpm_publish_time":1506058607203},"3.0.0":{"name":"pretty-ms","version":"3.0.0","description":"Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number","hrtime"],"dependencies":{"parse-ms":"^1.0.0","plur":"^2.1.2"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"ddec9a0d2eaae532fff69989dcece8cf7bc34a0e","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@3.0.0","_shasum":"f1cc2028b66f5fa736ac23ef57703d7e684ab101","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f1cc2028b66f5fa736ac23ef57703d7e684ab101","size":2341,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pretty-ms-3.0.0.tgz_1500137043175_0.09158411645330489"},"directories":{},"publish_time":1500137044092,"_hasShrinkwrap":false,"_cnpm_publish_time":1500137044092},"2.1.0":{"name":"pretty-ms","version":"2.1.0","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pretty-ms"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number","hrtime"],"dependencies":{"is-finite":"^1.0.1","parse-ms":"^1.0.0","plur":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"a9abfe28882521de0c2df57fed82f1a6fad3ed5f","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@2.1.0","_shasum":"4257c256df3fb0b451d6affaab021884126981dc","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4257c256df3fb0b451d6affaab021884126981dc","size":2359,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1445329502802,"_cnpm_publish_time":1445329502802,"_hasShrinkwrap":false},"2.0.0":{"name":"pretty-ms","version":"2.0.0","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pretty-ms.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number"],"dependencies":{"is-finite":"^1.0.1","parse-ms":"^1.0.0","plur":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"edc3e181121e2ade2b9cd8862d87e6faff62966b","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","_id":"pretty-ms@2.0.0","_shasum":"5fddf5b629686480ee1e6ee78f5b3450f150f7b1","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5fddf5b629686480ee1e6ee78f5b3450f150f7b1","size":2266,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1437939280176,"_cnpm_publish_time":1437939280176,"_hasShrinkwrap":false},"1.4.0":{"name":"pretty-ms","version":"1.4.0","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pretty-ms"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"pretty-ms":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","browser","pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number"],"dependencies":{"get-stdin":"^4.0.1","is-finite":"^1.0.1","meow":"^3.3.0","parse-ms":"^1.0.0","plur":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"f4fafdcc79b865ba2b9f441aaa7d61b1cd1d0dec","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@1.4.0","_shasum":"690d55637957c0c53f8086a810adb747825a9a0f","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"690d55637957c0c53f8086a810adb747825a9a0f","size":2777,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-1.4.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1436272744087,"_cnpm_publish_time":1436272744087,"_hasShrinkwrap":false},"1.3.0":{"name":"pretty-ms","version":"1.3.0","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pretty-ms"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"pretty-ms":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","browser","pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number"],"dependencies":{"get-stdin":"^4.0.1","meow":"^3.3.0","parse-ms":"^1.0.0","plur":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"14f6c4fb9eed99375768deb1797cd961cf3042c6","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@1.3.0","_shasum":"1dcb2895bc1a8210271db09413ad116d46bf6274","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1dcb2895bc1a8210271db09413ad116d46bf6274","size":2741,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-1.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1435340791015,"_cnpm_publish_time":1435340791015,"_hasShrinkwrap":false},"1.2.1":{"name":"pretty-ms","version":"1.2.1","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pretty-ms"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"pretty-ms":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","browser","pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number"],"dependencies":{"get-stdin":"^4.0.1","meow":"^3.3.0","parse-ms":"^1.0.0","plur":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"5a887d6a7360ddfd722e8898eb09bf32ee2e21ae","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@1.2.1","_shasum":"07c10b0609e844e51f50757874998881611591f0","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"07c10b0609e844e51f50757874998881611591f0","size":2696,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-1.2.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1435138975718,"_cnpm_publish_time":1435138975718,"_hasShrinkwrap":false},"1.2.0":{"name":"pretty-ms","version":"1.2.0","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pretty-ms"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"pretty-ms":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","browser","pretty","prettify","human","humanize","humanized","readable","time","ms","milliseconds","duration","period","range","text","string","str","number"],"dependencies":{"get-stdin":"^4.0.1","meow":"^3.3.0","parse-ms":"^1.0.0","plur":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"ec1b5805dd20dd479d1ae42c758cf6cb06a72a2a","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@1.2.0","_shasum":"a83e46580c923728f1ac394dc8734b4458a9588f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a83e46580c923728f1ac394dc8734b4458a9588f","size":2643,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-1.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1434986482668,"_cnpm_publish_time":1434986482668,"_hasShrinkwrap":false},"1.1.0":{"name":"pretty-ms","version":"1.1.0","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pretty-ms"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"pretty-ms":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","browser","pretty","human","humanized","readable","time","ms","milliseconds","duration","period","range"],"dependencies":{"get-stdin":"^4.0.1","parse-ms":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"c2529bba4c89547c03385c246db7a42fdcace9e1","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@1.1.0","_shasum":"f1b4333763b9467519581c66cb3dd0e4f9967f07","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"f1b4333763b9467519581c66cb3dd0e4f9967f07","size":1709,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-1.1.0.tgz"},"directories":{},"publish_time":1425982333471,"_cnpm_publish_time":1425982333471,"_hasShrinkwrap":false},"1.0.1":{"name":"pretty-ms","version":"1.0.1","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pretty-ms"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"pretty-ms":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","browser","pretty","human","humanized","readable","time","ms","milliseconds","duration","period","range"],"dependencies":{"get-stdin":"^4.0.1","parse-ms":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"d61cf197fe7eb7a7d307b9dc367cb7af679559d7","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@1.0.1","_shasum":"cdd50a44c8c7f3a6f2338f3a715e71ede3b0adfe","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"cdd50a44c8c7f3a6f2338f3a715e71ede3b0adfe","size":2338,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-1.0.1.tgz"},"directories":{},"publish_time":1424109567881,"_cnpm_publish_time":1424109567881,"_hasShrinkwrap":false},"1.0.0":{"name":"pretty-ms","version":"1.0.0","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/pretty-ms"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"pretty-ms":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","browser","pretty","human","humanized","readable","time","ms","milliseconds","duration","period","range"],"dependencies":{"get-stdin":"^3.0.0","parse-ms":"^1.0.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@1.0.0","_shasum":"11df1bdf4e4d1a0bb351d64aaf7ce60e6d73ea52","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"11df1bdf4e4d1a0bb351d64aaf7ce60e6d73ea52","size":1632,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-1.0.0.tgz"},"directories":{},"publish_time":1408710954211,"_cnpm_publish_time":1408710954211,"_hasShrinkwrap":false},"0.2.2":{"name":"pretty-ms","version":"0.2.2","description":"Convert milliseconds to a human readable string: 1337000000 ➔ 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/pretty-ms"},"bin":{"pretty-ms":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js","cli.js"],"keywords":["cli","bin","browser","pretty","human","humanized","readable","time","ms","milliseconds","duration","period","range"],"dependencies":{"parse-ms":"^0.1.0"},"devDependencies":{"mocha":"*","browserify":"^3.0.0"},"bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@0.2.2","dist":{"shasum":"da879a682ff33a37011046f13d627f67c73b84f6","size":1750,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-0.2.2.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1398897644201,"_cnpm_publish_time":1398897644201,"_hasShrinkwrap":false},"0.2.1":{"name":"pretty-ms","version":"0.2.1","description":"Convert milliseconds to a human readable string: 1337000000 ➔ 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/pretty-ms"},"bin":{"pretty-ms":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js","cli.js"],"keywords":["cli","bin","browser","pretty","human","humanized","readable","time","ms","milliseconds","duration","period","range"],"dependencies":{"parse-ms":"^0.1.0"},"devDependencies":{"mocha":"*","browserify":"^3.0.0"},"bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@0.2.1","dist":{"shasum":"fe1e684f12903471c2bcb9229f21f93d5922f097","size":1746,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-0.2.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1397681299753,"_cnpm_publish_time":1397681299753,"_hasShrinkwrap":false},"0.1.0":{"name":"pretty-ms","version":"0.1.0","description":"Convert milliseconds to a human readable string: 1337000000 ➔ 15d 11h 23m 20s","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/pretty-ms"},"main":"pretty-ms.js","bin":{"pretty-ms":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["pretty-ms.js","cli.js"],"keywords":["cli","bin","browser","pretty","human","humanized","readable","time","ms","milliseconds","duration","period","range"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"homepage":"https://github.com/sindresorhus/pretty-ms","_id":"pretty-ms@0.1.0","dist":{"shasum":"7c69cc866ba6794e9eef0168feeeade0bafa7e22","size":1895,"noattachment":false,"key":"/pretty-ms/-/pretty-ms-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pretty-ms/download/pretty-ms-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1395326334663,"_hasShrinkwrap":false,"_cnpm_publish_time":1395326334663}},"readme":"# pretty-ms\n\n> Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`\n\n## Install\n\n```sh\nnpm install pretty-ms\n```\n\n## Usage\n\n```js\nimport prettyMilliseconds from 'pretty-ms';\n\nprettyMilliseconds(1337000000);\n//=> '15d 11h 23m 20s'\n\nprettyMilliseconds(1337000000n);\n//=> '15d 11h 23m 20s'\n\nprettyMilliseconds(1337);\n//=> '1.3s'\n\nprettyMilliseconds(133);\n//=> '133ms'\n\n// `compact` option\nprettyMilliseconds(1337, {compact: true});\n//=> '1s'\n\n// `verbose` option\nprettyMilliseconds(1335669000, {verbose: true});\n//=> '15 days 11 hours 1 minute 9 seconds'\n\n// `colonNotation` option\nprettyMilliseconds(95500, {colonNotation: true});\n//=> '1:35.5'\n\n// `formatSubMilliseconds` option\nprettyMilliseconds(100.400080, {formatSubMilliseconds: true})\n//=> '100ms 400µs 80ns'\n\n// `subSecondsAsDecimals` option\nprettyMilliseconds(900, {subSecondsAsDecimals: true});\n//=> '0.9s'\n\n// Can be useful for time durations\nprettyMilliseconds(new Date(2014, 0, 1, 10, 40) - new Date(2014, 0, 1, 10, 5))\n//=> '35m'\n```\n\n## API\n\n### prettyMilliseconds(milliseconds, options?)\n\n#### milliseconds\n\nType: `number | bigint`\n\nMilliseconds to humanize.\n\n#### options\n\nType: `object`\n\n##### secondsDecimalDigits\n\nType: `number`\\\nDefault: `1`\n\nNumber of digits to appear after the seconds decimal point.\n\n##### millisecondsDecimalDigits\n\nType: `number`\\\nDefault: `0`\n\nNumber of digits to appear after the milliseconds decimal point.\n\nUseful in combination with [`process.hrtime()`](https://nodejs.org/api/process.html#process_process_hrtime_time).\n\n##### keepDecimalsOnWholeSeconds\n\nType: `boolean`\\\nDefault: `false`\n\nKeep milliseconds on whole seconds: `13s` → `13.0s`.\n\nUseful when you are showing a number of seconds spent on an operation and don't want the width of the output to change when hitting a whole number.\n\n##### compact\n\nType: `boolean`\\\nDefault: `false`\n\nOnly show the first unit: `1h 10m` → `1h`.\n\nAlso ensures that `millisecondsDecimalDigits` and `secondsDecimalDigits` are both set to `0`.\n\n##### unitCount\n\nType: `number`\\\nDefault: `Infinity`\n\nNumber of units to show. Setting `compact` to `true` overrides this option.\n\n##### verbose\n\nType: `boolean`\\\nDefault: `false`\n\nUse full-length units: `5h 1m 45s` → `5 hours 1 minute 45 seconds`\n\n##### separateMilliseconds\n\nType: `boolean`\\\nDefault: `false`\n\nShow milliseconds separately. This means they won't be included in the decimal part of the seconds.\n\n##### formatSubMilliseconds\n\nType: `boolean`\\\nDefault: `false`\n\nShow microseconds and nanoseconds.\n\n##### colonNotation\n\nType: `boolean`\\\nDefault: `false`\n\nDisplay time using colon notation: `5h 1m 45s` → `5:01:45`. Always shows time in at least minutes: `1s` → `0:01`\n\nUseful when you want to display time without the time units, similar to a digital watch.\n\nSetting `colonNotation` to `true` overrides the following options to `false`:\n- `compact`\n- `formatSubMilliseconds`\n- `separateMilliseconds`\n- `verbose`\n\n##### hideYear\n\nType: `boolean`\\\nDefault: `false`\n\nHides the year and shows the hidden year additionally as days (365 per year): `1y 3d 5h 1m 45s` → `368d 5h 1m 45s`.\n\n##### hideYearAndDays\n\nType: `boolean`\\\nDefault: `false`\n\nHides the year and days and shows the hidden values additionally as hours: `1y 3d 5h 1m 45s` → `8837h 1m 45s`.\n\n##### hideSeconds\n\nType: `boolean`\\\nDefault: `false`\n\nHides the seconds: `1y 3d 5h 1m 45s` → `1y 3d 5h 1m`.\n\n##### subSecondsAsDecimals\n\nType: `boolean`\\\nDefault: `false`\n\nShow sub-second values as decimal seconds: `900ms` → `0.9s`.\n\nUseful for progress indicators where you want consistent unit format to prevent flickering.\n\n## Related\n\n- [pretty-ms-cli](https://github.com/sindresorhus/pretty-ms-cli) - CLI for this module\n- [parse-ms](https://github.com/sindresorhus/parse-ms) - Parse milliseconds into an object\n- [to-milliseconds](https://github.com/sindresorhus/to-milliseconds) - Convert an object of time properties to milliseconds\n- [pretty-bytes](https://github.com/sindresorhus/pretty-bytes) - Convert bytes to a human readable string\n","_attachments":{},"homepage":"https://github.com/sindresorhus/pretty-ms#readme","bugs":{"url":"https://github.com/sindresorhus/pretty-ms/issues"},"license":"MIT"}