{"name":"parse-ms","version":"3.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":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["browser","parse","time","ms","milliseconds","microseconds","nanoseconds","duration","period","range","interval"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"49dab09236deeea5d2c082182e2c73e7a79763a8","bugs":{"url":"https://github.com/sindresorhus/parse-ms/issues"},"homepage":"https://github.com/sindresorhus/parse-ms#readme","_id":"parse-ms@3.0.0","_nodeVersion":"15.12.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==","shasum":"3ea24a934913345fcc3656deda72df921da3a70e","tarball":"http://registry-npm.ywwl.com/parse-ms/download/parse-ms-3.0.0.tgz","fileCount":5,"unpackedSize":3533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcEEwCRA9TVsSAnZWagAAo/wP/iAgTpKhYJ2RzyreoC6V\nkqNc3LOku8dapPTBspb+K8gDf+ntlgbZEGpIVTUcY2owq6y9xat2u5d4fi8i\nkB4RXEPWsLvwrQ85GJt4yEXZzLizvxDN9LAnnq5998N1MHFrcU/+GWY53YBz\nB4eckVO3NUfqCK2NAJm/i4VGn7fZ9aWt/TGitz+TPkmVmmba8KCKT2ON9i55\nQZbxBBpzwBxrDKkxAF1zwH2Yh+U0EDvWdi2LO2IP16Z/ResWMIjkGWZ7dqiY\naZpo5Z2IGcz0pRipRcsImLxcUR6smilN9BieY62vA4GVdN2EbUMgBlhnkkt8\nv3iWl7ezeZZAi1O5bW923RJUasyHGRTICsTgv8UQNfj0XUufPeH5QhP+uk0a\nf4QYndE49q4h2dSKnQLTFBuMB8xJT00+CSQcV56ktyy0f/WugZotQav3+TeF\npXIXs59+mW5sU5IQ0bjZIGB/CIH+nbfBXCNMI7LmmOKXnKPkqrnUmLSHo6/m\nnZK3Ou1a7uSYc9u+jMv4+0xEojXKxPsNR2MSFSeRYMqctE2IxxsaWSRP3svK\nlgkN6O8klgEQCv/hL4h2IR+sOy9wjfY1VQaxZdhpsBwNSWecJxWeid1EoujL\nefVkT8FjX8jfWtdpCwS5C3IMrelxMTzBKoGVV+QHi01y3Evus23ax3yGE7Cm\nmUpy\r\n=R0ux\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDav84V/Y2hFRBi/qWlFxaAIZCv1ylSqhLILs8henBcVQIgCMqrd/qnFz9dbM5KVhRFzbajP1ZAAc9/XopWgtbRt1Y="}],"size":1766,"noattachment":false,"key":"/parse-ms/-/parse-ms-3.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-ms_3.0.0_1617969455561_0.5951076339195813"},"_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":1617969455664,"_cnpm_publish_time":1617969455664,"dist-tags":{"latest":"5.0.0"}}