{"name":"parse-ms","version":"4.0.0","description":"Parse milliseconds into an object","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/parse-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":["browser","parse","time","ms","milliseconds","microseconds","nanoseconds","duration","period","range","interval"],"devDependencies":{"ava":"^6.0.1","tsd":"^0.30.3","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"265f81cac937a9720a04bb754b6e739d8c6a5130","bugs":{"url":"https://github.com/sindresorhus/parse-ms/issues"},"homepage":"https://github.com/sindresorhus/parse-ms#readme","_id":"parse-ms@4.0.0","_nodeVersion":"18.19.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==","shasum":"c0c058edd47c2a590151a718990533fd62803df4","tarball":"http://registry-npm.ywwl.com/parse-ms/download/parse-ms-4.0.0.tgz","fileCount":5,"unpackedSize":4311,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLP9duIr3AIyYC4OIUCIEPV45FtvHTA1Qwx/VdWzaF8gIhAMf2CEUaJM/EzppxJL2JZ7fQTUfHmsqQAKGBEf9qqJSj"}],"size":1985,"noattachment":false,"key":"/parse-ms/-/parse-ms-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-ms_4.0.0_1704636849415_0.12881764044246058"},"_hasShrinkwrap":false,"readme":"# parse-ms\n\n> Parse milliseconds into an object\n\n## Install\n\n```sh\nnpm install parse-ms\n```\n\n## Usage\n\n```js\nimport parseMilliseconds from 'parse-ms';\n\nparseMilliseconds(1337000001);\n/*\n{\n\tdays: 15,\n\thours: 11,\n\tminutes: 23,\n\tseconds: 20,\n\tmilliseconds: 1,\n\tmicroseconds: 0,\n\tnanoseconds: 0\n}\n*/\n\nparseMilliseconds(1337000001n);\n/*\n{\n\tdays: 15n,\n\thours: 11n,\n\tminutes: 23n,\n\tseconds: 20n,\n\tmilliseconds: 1n,\n\tmicroseconds: 0n,\n\tnanoseconds: 0n\n}\n*/\n```\n\n## Related\n\n- [to-milliseconds](https://github.com/sindresorhus/to-milliseconds) - The inverse of this module\n- [pretty-ms](https://github.com/sindresorhus/pretty-ms) - Convert milliseconds to a human readable string\n","publish_time":1704636849614,"_cnpm_publish_time":1704636849614,"dist-tags":{"latest":"5.0.0"}}