{"_id":"max-timeout","_rev":"6-052649d378a07aa86687a013be471cba","name":"max-timeout","description":"The max amount of milliseconds you can pass to `setTimeout()`","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"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":"https://registry.npmjs.org/max-timeout/-/max-timeout-1.0.0.tgz","integrity":"sha512-sXo5y3ioLf/ha4MTOOMfSqZx2ymTsBMku9uwKLldT2/hcIK8bOhUvYuv/Wvc0huUwfOEvg97+6jvSAhQJ8cXTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmYuG6v3oXw0PiGYUUgsnapMPAIxxDyXA8RAlxmHb10wIhAKvBKFwhJUmCUQSO/Okua6JBWnpWQHOkqeqt9dtU35/+"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"max-timeout","version":"2.0.0","description":"The max amount of milliseconds you can pass to `setTimeout()`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/max-timeout.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["max","maximum","timeout","settimeout","delay","overflow","number","constant"],"devDependencies":{"ava":"^3.15.0","xo":"^0.38.2"},"gitHead":"0dcda4ea9667be9c1902bc9c28f589c515192571","bugs":{"url":"https://github.com/sindresorhus/max-timeout/issues"},"homepage":"https://github.com/sindresorhus/max-timeout#readme","_id":"max-timeout@2.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-dtJvU0d8aJYmcBc5SC+keJAmyATVkEhbqX1YyCZmrANcaHRyeBwQ6VYwXFiMu5JP7XEcUcyrqaZV0eSZBQdRRg==","shasum":"732a4131021fcdf0a5568edef16adbb895f1a4f2","tarball":"https://registry.npmjs.org/max-timeout/-/max-timeout-2.0.0.tgz","fileCount":4,"unpackedSize":2384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbUJXCRA9TVsSAnZWagAA0SsQAJJ02eM29MxvsIdWW0vY\nDUGoP+7SpTwW1oMR+RQpeWi7uvqg6FQ/p7rl/E1MbShYO3Y79Vja5xsLsdzA\nyg+Uo6i88H0Hi0FTqYQ49AE7wFB1Gqr4THHHmBNEr+xFDBvfhU+k6Fab1h2p\nI/obOG4HNUZxBTUj+BlVFpY1VTcMI2QczD2GAswOGJXmz+7xilXGNYMuBWG6\nb5reQq/oq9mjj4MFZ0SajArZVWw4T3NUC2DwASdHt9Fzj2h1DZjb7B7SiuPT\njQmr3pax68FD+aMQ1sEoxnRMTHKX/W28aXTr2/wnRhhuJ7Ltt2V04NkPbeIH\nn9swSz8HPUkMH7z2b4fkbjJqFvCfHKr5n9TlWooM/YYXzMXtnLKFpgThwlXE\nsAYZQVUrLMhhHThXK7Qrs8mn2EkRed1zaZF92NZeZ3uXyK6DsssHPdaJRzAJ\n3EFYixpMSsYI99RdbqR+InAVEmef7p4fl9snwhVl3XcwXGGygyqA8jwXktzM\nhwzeX22XY9qJi8NQFvGCNYfKp/nB8TpaMx8484BYqq/eY+RrdqsrxEegBhFJ\nkRfepQc78Jd73JBk1+VEksDOip+mnubVEA6sH5PbqRvGFD6dsHnrEzZ6B4BM\ng/9By+TzzX+Mit9s07yz7ma2dzNHV0R35kMIfr1/3ExgU7CLZmj818W3DHAv\nJBiW\r\n=xP6W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkwZVj0BPiA7uDXpcuDPShgdH7MiOIGtaOoN0gsqLImAiBX895V6ouKSFIBsbp6wxkA268YosMvF7BToj9FfOE5jw=="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/max-timeout_2.0.0_1617773143440_0.3696300697830368"},"_hasShrinkwrap":false}},"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","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-19T16:59:27.073Z","created":"2015-11-15T17:40:51.277Z","1.0.0":"2015-11-15T17:40:51.277Z","2.0.0":"2021-04-07T05:25:43.561Z"},"homepage":"https://github.com/sindresorhus/max-timeout#readme","keywords":["max","maximum","timeout","settimeout","delay","overflow","number","constant"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/max-timeout.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/max-timeout/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"rocket0191":true}}