{"name":"max-timeout","version":"1.0.0","description":"The max amount of milliseconds you can pass to `setTimeout()`","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/max-timeout"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["max","maximum","timeout","settimeout","delay","overflow","number","constant"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"1677b3a19bd31c54fc9443a6fc9b29ea42d7cb9b","bugs":{"url":"https://github.com/sindresorhus/max-timeout/issues"},"homepage":"https://github.com/sindresorhus/max-timeout","_id":"max-timeout@1.0.0","_shasum":"b68f69a2f99e0b476fd4cb23e2059ca750715e1f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b68f69a2f99e0b476fd4cb23e2059ca750715e1f","tarball":"http://registry-npm.ywwl.com/max-timeout/download/max-timeout-1.0.0.tgz","integrity":"sha512-sXo5y3ioLf/ha4MTOOMfSqZx2ymTsBMku9uwKLldT2/hcIK8bOhUvYuv/Wvc0huUwfOEvg97+6jvSAhQJ8cXTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmYuG6v3oXw0PiGYUUgsnapMPAIxxDyXA8RAlxmHb10wIhAKvBKFwhJUmCUQSO/Okua6JBWnpWQHOkqeqt9dtU35/+"}],"size":1567,"noattachment":false,"key":"/max-timeout/-/max-timeout-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# max-timeout\n\n> The max amount of milliseconds you can pass to `setTimeout()`\n\nA value larger than the one returned from this module, 2147483647 (~25 days), is too big to fit into a signed 32-bit integer, which is how JS engines store it, and will cause overflow, resulting in the timeout being scheduled immediately.\n\n## Install\n\n```\n$ npm install max-timeout\n```\n\n## Usage\n\n```js\nimport maxTimeout from 'max-timeout';\n\nsetTimeout(() => {}, maxTimeout);\n```\n\n## Related\n\n- [delay](https://github.com/sindresorhus/delay) - Delay a promise a specified amount of time\n","publish_time":1447609251277,"_cnpm_publish_time":1447609251277,"dist-tags":{"latest":"2.0.0"}}