{"_id":"human-to-milliseconds","_rev":"3-5d4029d8d6fe84dc2b31d583b5212d57","name":"human-to-milliseconds","description":"Human Interval to Milliseconds","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"human-to-milliseconds","version":"1.0.0","description":"Human Interval to Milliseconds","main":"./src/index.js","repository":{"type":"git","url":"git+https://github.com/hacdias/human-to-milliseconds.git"},"keywords":["human","time","interval","timeout"],"author":{"name":"Henrique Dias","email":"hacdias@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/hacdias/human-to-milliseconds/issues"},"homepage":"https://github.com/hacdias/human-to-milliseconds#readme","devDependencies":{"aegir":"^12.3.0","chai":"^4.1.2","pre-commit":"^1.2.2"},"scripts":{"lint":"aegir lint","release":"aegir release","build":"aegir build","test":"aegir test","test:node":"aegir test -t node","test:browser":"aegir test -t browser","coverage":"aegir coverage","coverage-publish":"aegir coverage --upload"},"pre-commit":["lint"],"dependencies":{"promisify-es6":"^1.0.3"},"contributors":[{"name":"Henrique Dias","email":"hacdias@gmail.com"}],"gitHead":"7c1a970c796f4f0628e9cdecc0768a952311d3eb","_id":"human-to-milliseconds@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"hacdias","email":"hacdias@gmail.com"},"dist":{"integrity":"sha512-Rp1uvdGYHZ8v6GCl3N6QW48MlABqvLCzKbeNPPddbFdDEC7G1G+8oq0hmCiem4PSJIDwLvAxkPi3FF5BDoeKew==","shasum":"cc25944810619a010cf13650fed0bd11bb4e14e8","tarball":"https://registry.npmjs.org/human-to-milliseconds/-/human-to-milliseconds-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSfI2eHdSn9gg03Rquitfr63HoVQxDDQ0RJb/fXF2oKAiBSGOMV+QuXRaRtE/iONb0OD9eUpNLeV7rxLA6RuxmQUA=="}]},"maintainers":[{"name":"hacdias","email":"hacdias@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-to-milliseconds-1.0.0.tgz_1517424956380_0.6942778786178678"},"directories":{},"deprecated":"This package contains very few lines of code. If you want to use this functionality, just copy it over."},"2.0.0":{"name":"human-to-milliseconds","version":"2.0.0","description":"Human Interval to Milliseconds","main":"./src/index.js","repository":{"type":"git","url":"git+https://github.com/hacdias/human-to-milliseconds.git"},"keywords":["human","time","interval","timeout"],"author":{"name":"Henrique Dias","email":"hacdias@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/hacdias/human-to-milliseconds/issues"},"homepage":"https://github.com/hacdias/human-to-milliseconds#readme","devDependencies":{"aegir":"^19.0.4","chai":"^4.2.0","pre-commit":"^1.2.2"},"scripts":{"lint":"aegir lint","release":"aegir release","build":"aegir build","test":"aegir test","test:node":"aegir test -t node","test:browser":"aegir test -t browser","coverage":"aegir coverage","coverage-publish":"aegir coverage --upload"},"pre-commit":["lint"],"contributors":[{"name":"Henrique Dias","email":"hacdias@gmail.com"}],"gitHead":"22f2a44c3863e636b2124915bb99e727dc5f4b41","_id":"human-to-milliseconds@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"hacdias","email":"hacdias@gmail.com"},"dist":{"integrity":"sha512-O9SPpvCfucmYUFz3rr/mzfRBrxhLuKCNKOQ+XoKdLpUlYzvyaZHvsnjrJ0ybsKI03Zbp1KZVZ2C3m1Qm/DJH5A==","shasum":"4790f764bf926d3676f685fed745814010170793","tarball":"https://registry.npmjs.org/human-to-milliseconds/-/human-to-milliseconds-2.0.0.tgz","fileCount":10,"unpackedSize":35688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG8nrCRA9TVsSAnZWagAAasEP/28zJvi3pkQXpUSk2ywS\n7JbfTpRME34WD4iV2CbjJqTwG2MtztJDBaS1biDzmrmOeAhDtbhG2xkAegg+\n7k5NEWUSQd35xdRMi9TBAn0vtpF3gdrEBBxVvU1XQjbtJdQSpIzdNtCeW+zs\nxqvK9F6RvElURTdaWaeZkKmu3PwBSnyE+C8JRfLgxoBwHD7vgjCf0MZfyfYN\nhk+94RFwCRZ1UhSSZy6afKf8VER4P1y0y6ZdyCbjy4f3pcMh7dOLqVL93BQS\nsSWmYBUmf2H1JHURnvJx0bG/TjAqM3v+rwn7buM8fRhqpqV+HFSBE6VdcSAx\nyjZcmsSTmyVT7npJfIIoYLYly6y/qkeDKfHWeYhU9EWJwHIMRhOkUZkee4Fa\njWfqxU+GX+e+72wqMmT3jniv1uP6sdvfaxD15nVjTy4ktW9DINBEiYQybfG7\nFAAsGHSGHzpv+WMXgYpB3eZTivsG4wVkSfGNbqaLDkYcmNdJb4iY+R7G2oX5\ndRVrJ3mgzrl2Ulr/p4pKpRjeXF5DdOZ+px7g8Dhi3Dxj1RR2zAIyUXkUU7Cl\n/MZ/4t8stbX2U2wBX7+2BYIQq1Xjp9V46CV6J9KJcdMqm0Vm1HewYgVK367f\nuMIMPdJnwcgj8+481ORUaVdo5zNwH2S/YSaO89KO64GzOZwnQze48nluJjQ9\nYPa/\r\n=j6YK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8x9WMnMz9Xi9C3eYmGyTpAwpdRpbMbW01xxr2SfYLWAIgdwjYa/6eHBMYmOqZ41WWQYdaThfWtsOog+DGiqKcDAM="}]},"maintainers":[{"name":"hacdias","email":"hacdias@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-to-milliseconds_2.0.0_1562102250784_0.9940763970413156"},"_hasShrinkwrap":false,"deprecated":"This package contains very few lines of code. If you want to use this functionality, just copy it over."}},"readme":"# human-to-milliseconds\n\n[![npm](https://img.shields.io/npm/v/human-to-milliseconds.svg?style=flat-square)](https://www.npmjs.com/package/human-to-milliseconds)\n[![Travis](https://img.shields.io/travis/hacdias/human-to-milliseconds.svg?style=flat-square)](https://travis-ci.org/hacdias/human-to-milliseconds)\n\nConverts human intervals to milliseconds. This accepts durations such as \"300s\", \"1.5h\" or \"2h45m\". Valid time units are: \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\n## Install\n\n### In Node.js through npm\n\n```bash\n$ npm install --save human-to-milliseconds\n```\n\n### Browser: Browserify, Webpack, other bundlers\n\nThe code published to npm that gets loaded on require is in fact an ES5 transpiled version with the right shims added. This means that you can require it and use with your favorite bundler without having to adjust asset management process.\n\n```js\nconst HumanToMilliseconds = require('human-to-milliseconds')\n```\n\n### In the Browser through `<script>` tag\n\nLoading this module through a script tag will make the ```HumanToMilliseconds``` obj available in the global namespace.\n\n```\n<script src=\"https://unpkg.com/human-to-milliseconds/dist/index.min.js\"></script>\n<!-- OR -->\n<script src=\"https://unpkg.com/human-to-milliseconds/dist/index.js\"></script>\n```\n\n## API\n\n```js\ntry {\n  console.log(HumanToMilliseconds('1h50m'))\n} catch (err) {\n  console.log(err)\n}\n```\n\n","maintainers":[{"name":"hacdias","email":"hacdias@gmail.com"}],"time":{"modified":"2023-06-14T16:07:57.609Z","created":"2018-01-31T18:55:58.085Z","1.0.0":"2018-01-31T18:55:58.085Z","2.0.0":"2019-07-02T21:17:30.913Z"},"homepage":"https://github.com/hacdias/human-to-milliseconds#readme","keywords":["human","time","interval","timeout"],"repository":{"type":"git","url":"git+https://github.com/hacdias/human-to-milliseconds.git"},"contributors":[{"name":"Henrique Dias","email":"hacdias@gmail.com"}],"author":{"name":"Henrique Dias","email":"hacdias@gmail.com"},"bugs":{"url":"https://github.com/hacdias/human-to-milliseconds/issues"},"license":"MIT","readmeFilename":"README.md"}