{"_id":"humanize-ms","_rev":"15-2f15d44d7d4299d37ea77f8c0cceca9f","name":"humanize-ms","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"humanize-ms","version":"1.0.0","keywords":["humanize","ms"],"author":{"url":"http://deadhorse.me","name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"humanize-ms@1.0.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/humanize-ms","bugs":{"url":"https://github.com/node-modules/humanize-ms/issues"},"dist":{"shasum":"9d65bcd8df5a142d88392e717412179d051f94eb","tarball":"https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.0.0.tgz","integrity":"sha512-GMN0lKeeelaQxbYLzhtE0LuZllmhqNRE8ez3Q56+Na/GbMQl71L4TOGs6x52pDgICQ2aP8Gjt7CewI3RWy3jDQ==","signatures":[{"sig":"MEQCIF5yLhlzlzR14drLfMmfClLVvH0FT+jOTlBwB/XARmi4AiAoTyP3oi24/2S9fs/KTnyKNDQpoUDxFDhlwBxsbK0zfg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"9d65bcd8df5a142d88392e717412179d051f94eb","gitHead":"31fe3d5874f969d79db7ca9d69fff28ba7430d3b","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"https://github.com/node-modules/humanize-ms","type":"git"},"_npmVersion":"2.0.0-alpha-5","description":"transform humanize time to ms","directories":{},"dependencies":{"ms":"~0.6.2"},"devDependencies":{"autod":"~0.3.2","mocha":"~1.21.4","should":"~4.0.4","istanbul":"~0.3.0"}},"1.0.1":{"name":"humanize-ms","version":"1.0.1","keywords":["humanize","ms"],"author":{"url":"http://deadhorse.me","name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"humanize-ms@1.0.1","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/humanize-ms","bugs":{"url":"https://github.com/node-modules/humanize-ms/issues"},"dist":{"shasum":"4336d3c4392236bb8e59cda599f6d88675dc5ff8","tarball":"https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.0.1.tgz","integrity":"sha512-tUZWAkQwwTgGTf32E8uZrgx6sDrCHLeBNtLkRJDhKbzxYlK5181c6CynYkYLvlCjZhwKo9plOqBhpZU2FIHTow==","signatures":[{"sig":"MEUCIQCUcjwn4TFSTfRgi1wWYfOKVeR1M94jDiUIAcMEE11MpQIgXf3e2v7hovKiacXbv7nMZOGNgTN8O5knd+ZQTBHZRuU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"4336d3c4392236bb8e59cda599f6d88675dc5ff8","gitHead":"be36edb7d79c6fb4e16bafc9ee3d5e4ee83607c6","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"https://github.com/node-modules/humanize-ms","type":"git"},"_npmVersion":"2.1.12","description":"transform humanize time to ms","directories":{},"_nodeVersion":"0.11.14","dependencies":{"ms":"~0.6.2"},"devDependencies":{"autod":"~0.3.2","mocha":"~1.21.4","should":"~4.0.4","istanbul":"~0.3.0"}},"1.0.2":{"name":"humanize-ms","version":"1.0.2","keywords":["humanize","ms"],"author":{"url":"http://deadhorse.me","name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"humanize-ms@1.0.2","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/humanize-ms#readme","bugs":{"url":"https://github.com/node-modules/humanize-ms/issues"},"dist":{"shasum":"9868fb2f7beecd16b9f0baffc53c45213bd3fcbd","tarball":"https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.0.2.tgz","integrity":"sha512-k2BIRfTMmJK7gfe4HuRHHiAs3PDuqS/07gO1Zj+ejsRI2wELKi0rm2JlH9zAgl53h7wZS3FMqmQFs2jQhnUQUg==","signatures":[{"sig":"MEYCIQC25teZaf89xcIV9iYZcC/+DQVDfJe0EmuFLBRLTycY+AIhAJddERE9W23IxcA8X4AbxLrbNerTf4S8nYwf4eeYxCwF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"9868fb2f7beecd16b9f0baffc53c45213bd3fcbd","gitHead":"e8bc10a223adeffe114966abc69b75e1f999ab65","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git+https://github.com/node-modules/humanize-ms.git","type":"git"},"_npmVersion":"3.8.3","description":"transform humanize time to ms","directories":{},"_nodeVersion":"4.2.4","dependencies":{"ms":"~0.7.0"},"devDependencies":{"autod":"*","mocha":"*","should":"*","istanbul":"*","benchmark":"~1.0.0","beautify-benchmark":"~0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/humanize-ms-1.0.2.tgz_1459774512139_0.8484525410458446","host":"packages-12-west.internal.npmjs.com"}},"1.2.0":{"name":"humanize-ms","version":"1.2.0","keywords":["humanize","ms"],"author":{"url":"http://deadhorse.me","name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"humanize-ms@1.2.0","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/humanize-ms#readme","bugs":{"url":"https://github.com/node-modules/humanize-ms/issues"},"dist":{"shasum":"4d691a1fa1b87989789af8e58cddfd550622e4d4","tarball":"https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.0.tgz","integrity":"sha512-MaZtolGsNxvkH7eVutjO1j4ybHK9IlQ2rnaOCJ1k7n9wY1pgN01jMKPsW1BzUhCcKYMaGUMOyyCqo0Sdtw3F+A==","signatures":[{"sig":"MEUCIQChuYrJ/2NTPdiPlxpZycJFQawn/fmvD0r6r2M5lpif9wIgJ9Xu0eFYlQSHsE/rBEhBVc0tLs8TXRqhy18hl51Lfvs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"4d691a1fa1b87989789af8e58cddfd550622e4d4","gitHead":"27fed123313480784eab117cf23192479dfebb73","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git+https://github.com/node-modules/humanize-ms.git","type":"git"},"_npmVersion":"3.8.3","description":"transform humanize time to ms","directories":{},"_nodeVersion":"4.4.2","dependencies":{"ms":"~0.7.0"},"devDependencies":{"autod":"*","mocha":"*","should":"*","istanbul":"*","benchmark":"~1.0.0","beautify-benchmark":"~0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/humanize-ms-1.2.0.tgz_1463761513425_0.7950706258416176","host":"packages-12-west.internal.npmjs.com"}},"1.2.1":{"name":"humanize-ms","version":"1.2.1","keywords":["humanize","ms"],"author":{"url":"http://deadhorse.me","name":"dead-horse","email":"dead_horse@qq.com"},"license":"MIT","_id":"humanize-ms@1.2.1","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"}],"homepage":"https://github.com/node-modules/humanize-ms#readme","bugs":{"url":"https://github.com/node-modules/humanize-ms/issues"},"dist":{"shasum":"c46e3159a293f6b896da29316d8b6fe8bb79bbed","tarball":"https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz","integrity":"sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==","signatures":[{"sig":"MEUCIDKUHzIJ4erNTJ46kFkox4wxYatS5OtubOSpaJoHH/SxAiEA1wF40DTT3e2qDMJQAzwOXmz0zcrvDWY7/j2nTxOMKZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"c46e3159a293f6b896da29316d8b6fe8bb79bbed","gitHead":"d9cdffe02c748b3e05490496ce18530b966154f0","scripts":{"test":"make test"},"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"repository":{"url":"git+https://github.com/node-modules/humanize-ms.git","type":"git"},"_npmVersion":"3.10.3","description":"transform humanize time to ms","directories":{},"_nodeVersion":"6.10.2","dependencies":{"ms":"^2.0.0"},"devDependencies":{"autod":"*","mocha":"*","should":"*","istanbul":"*","benchmark":"~1.0.0","beautify-benchmark":"~0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/humanize-ms-1.2.1.tgz_1495168288967_0.14913744758814573","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"humanize-ms","version":"2.0.0","description":"transform humanize time to ms","keywords":["humanize","ms"],"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"repository":{"type":"git","url":"git+https://github.com/node-modules/humanize-ms.git"},"license":"MIT","engines":{"node":">= 14.0.0"},"dependencies":{"ms":"^2.1.3"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@eggjs/tsconfig":"1","@types/mocha":"10","@types/ms":"^0.7.34","@types/node":"22","beautify-benchmark":"^0.2.4","benchmark":"^2.1.4","egg-bin":"6","eslint":"8","eslint-config-egg":"14","tshy":"3","tshy-after":"1","typescript":"5"},"scripts":{"lint":"eslint --cache src test --ext .ts","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","ci":"npm run lint && egg-bin cov && npm run prepublishOnly && attw --pack","prepublishOnly":"tshy && tshy-after"},"type":"module","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"types":"./dist/commonjs/index.d.ts","main":"./dist/commonjs/index.js","module":"./dist/esm/index.js","_id":"humanize-ms@2.0.0","gitHead":"941baa982504b8f006a48316d002a3db33ac6b82","bugs":{"url":"https://github.com/node-modules/humanize-ms/issues"},"homepage":"https://github.com/node-modules/humanize-ms#readme","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-TFN/YZLNqeL9OLdGHBb4Via7hAh766lHMckhEI0XuKUv4zF4qqxULc55x7x3TfgKPJ+ny1+0UeVtPE0HM2gawA==","shasum":"e676732a6a92e1ca8478e60840a89996f9c2936b","tarball":"https://registry.npmjs.org/humanize-ms/-/humanize-ms-2.0.0.tgz","fileCount":11,"unpackedSize":7245,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGj2PlHFAJxilhsazaeqz+jxmaKZpjuIHy2Xr3erm70pAiBh3Bv+MKAurG//EiGmXHwc/hE8mwchxX6QYPXPwSO3Gg=="}]},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"directories":{},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/humanize-ms_2.0.0_1733996083591_0.5516111736541387"},"_hasShrinkwrap":false}},"time":{"created":"2014-08-14T07:53:31.200Z","modified":"2024-12-12T09:34:43.938Z","1.0.0":"2014-08-14T07:53:31.200Z","1.0.1":"2015-01-02T04:59:52.159Z","1.0.2":"2016-04-04T12:55:12.658Z","1.2.0":"2016-05-20T16:25:14.184Z","1.2.1":"2017-05-19T04:31:29.217Z","2.0.0":"2024-12-12T09:34:43.775Z"},"bugs":{"url":"https://github.com/node-modules/humanize-ms/issues"},"author":{"name":"dead-horse","email":"dead_horse@qq.com","url":"http://deadhorse.me"},"license":"MIT","homepage":"https://github.com/node-modules/humanize-ms#readme","keywords":["humanize","ms"],"repository":{"type":"git","url":"git+https://github.com/node-modules/humanize-ms.git"},"description":"transform humanize time to ms","maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"readme":"# humanize-ms\n\n[![NPM version][npm-image]][npm-url]\n[![Node.js CI](https://github.com/node-modules/humanize-ms/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/humanize-ms/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/humanize-ms.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/humanize-ms\n[codecov-image]: https://codecov.io/gh/node-modules/humanize-ms/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/node-modules/humanize-ms\n[snyk-image]: https://snyk.io/test/npm/humanize-ms/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/humanize-ms\n[download-image]: https://img.shields.io/npm/dm/humanize-ms.svg?style=flat-square\n[download-url]: https://npmjs.org/package/humanize-ms\n\ntransform humanize time to ms\n\n## Installation\n\n```bash\nnpm install humanize-ms\n```\n\n## Examples\n\n```typescript\nimport { ms } from 'humanize-ms';\n\nms('1s') // 1000\nms(1000) // 1000\n```\n\n### License\n\n[MIT](LICENSE)\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=node-modules/humanize-ms)](https://github.com/node-modules/humanize-ms/graphs/contributors)\n\nMade with [contributors-img](https://contrib.rocks).\n","readmeFilename":"README.md","users":{"daizch":true,"ninozhang":true,"stone-jin":true,"shangsinian":true}}