{"_id":"@use-it/interval","_rev":"8-a31359817d616cb2ea66057c202e86f4","name":"@use-it/interval","dist-tags":{"latest":"1.0.0","next":"1.0.0-beta.2"},"versions":{"0.1.0":{"name":"@use-it/interval","publishConfig":{"access":"public"},"version":"0.1.0","description":"A custom React Hook that provides a declarative useInterval.","main":"dist/interval.js","umd:main":"dist/interval.umd.js","module":"dist/interval.m.js","source":"src/index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/donavon/use-interval.git"},"scripts":{"prepublishOnly":"npm run build","lint":"eslint src","test":"jest --verbose --coverage --silent","test:watch":"jest --watch --runInBand --silent","prebuild":"npm run lint && npm t && rimraf dist","build":"microbundle -o dist/ --sourcemap false --target web","dev":"microbundle watch -o dist/ --sourcemap false --compress false"},"keywords":["react-hooks","hooks","react","utils","lib","interval"],"author":{"name":"donavon"},"devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^23.6.0","eslint":"^5.10.0","eslint-config-amex":"^9.0.0","jest":"^23.6.0","jest-dom":"^3.0.0","microbundle":"^0.9.0","react":"^16.8.0","react-dom":"^16.8.0","react-testing-library":"^5.8.0","rimraf":"^2.6.2"},"peerDependencies":{"react":"^16.8.0"},"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"1babbd5fe879eb3ebbe5374f5b669cd6bb0ff61d","bugs":{"url":"https://github.com/donavon/use-interval/issues"},"homepage":"https://github.com/donavon/use-interval#readme","_id":"@use-it/interval@0.1.0","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"donavon","email":"github@donavon.com"},"dist":{"integrity":"sha512-bIzl7o3FSgTegrrAMEWbnriMAmKdysonzY2sgtl9F4UkXGkHdYgE7R4qtXOXk7jbNmvL4tfZ8k3h7rtjq/U0kQ==","shasum":"ff949b292c74ca8c8b487de1d3b18bc4f1134255","tarball":"https://registry.npmjs.org/@use-it/interval/-/interval-0.1.0.tgz","fileCount":6,"unpackedSize":7294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZGVsCRA9TVsSAnZWagAAS4sP/ivDREZY5Xk7cd5tonnq\niaC5HGgPTiitCg26RMQpv6E1X4BTuw8D0juacV9+Z5AglAKrWtLCkX34mwZs\nvVjhvodX66XvGy+fgC4BoBoW0piAiYPS20obWoFEWxucL6de1Xu8OYsc3cSa\n3t4mWW6+djRFDEeD54YjQuxketRxCaspR1pk3+AJcKr//Zhu5axOiT0Kbwl3\nqfe5ebTLo5aL9BNQRO52/0KhXwA3S+myKgndzWbLMRPcY2FrZGxAkUTH74Z/\nu7XHGe0aYwPyvLupQMleE6p2khIAfLlkMm6O35LjXbInYOru6MrFX6/3wL1T\njjp2HYaFv0XsG5mx9Af+CqDq0ONKwtx/rPxt8bNVUNqhlwUpoPFMDF9aZMr9\nN8LVDNwNa/5Ux8iW9JlJsBQz3pG5hGGzE1t0STRf+M2lNpjmMp7/NwIWBbP+\nYWDBofMBNN4RbekE517Kb8XObfM2+bkEhn9epuTquMz6Fk8hqpxGh86h8sqo\n21P8vv4u9Q+fS7Ww/9ijjR3RnlKMwjJT/lsuaXhCNzJWiPSmWL3arz9sU+YE\nVchkqKDZXluUE5mLHOn1jAY5MzsfvpDLyUmhPz6trgStqlDIX7YDvIeLZh3E\n2IgolHPNKCWMqWiQ37Ywg1HDnjMGMNqaq6GFDn+mzv1j7P5zAD5QHUBuPuTS\nrJUD\r\n=+Nga\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICP9Uynixch+x71oRj4MtV3xhZZ12elPHWIUfZ3h8TqPAiEAtKVGYuyNgCHU1AZzujZnbYJwMdW33z2NWKjynACSvWc="}]},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interval_0.1.0_1550083436055_0.4261195668105304"},"_hasShrinkwrap":false},"0.1.1":{"name":"@use-it/interval","publishConfig":{"access":"public"},"version":"0.1.1","description":"A custom React Hook that provides a declarative useInterval.","main":"dist/interval.js","umd:main":"dist/interval.umd.js","module":"dist/interval.m.js","source":"src/index.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/donavon/use-interval.git"},"scripts":{"prepublishOnly":"npm run build","lint":"eslint src","test":"jest --verbose --coverage --silent","test:watch":"jest --watch --runInBand --silent","prebuild":"npm run lint && npm t && rimraf dist","build":"microbundle -o dist/ --sourcemap false --target web","dev":"microbundle watch -o dist/ --sourcemap false --compress false"},"keywords":["react-hooks","hooks","react","utils","lib","interval"],"author":{"name":"donavon"},"devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^23.6.0","eslint":"^5.10.0","eslint-config-amex":"^9.0.0","jest":"^23.6.0","jest-dom":"^3.0.0","microbundle":"^0.9.0","react":"^16.8.0","react-dom":"^16.8.0","react-testing-library":"^5.8.0","rimraf":"^2.6.2"},"peerDependencies":{"react":"^16.8.0"},"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"7a0c6150038aafbab8244ab4256c1857c7597c85","bugs":{"url":"https://github.com/donavon/use-interval/issues"},"homepage":"https://github.com/donavon/use-interval#readme","_id":"@use-it/interval@0.1.1","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"donavon","email":"github@donavon.com"},"dist":{"integrity":"sha512-82ohtpG/OtXMduCX0/sJnDZrVsGZMYb5elpPIJ78D/UOOKN5clrKrsJ5jVNj49WWnF7PUEgCOw2TfsAplWjxIQ==","shasum":"aa4ec21d27a303de3b83b82c24ed90b8391918ec","tarball":"https://registry.npmjs.org/@use-it/interval/-/interval-0.1.1.tgz","fileCount":7,"unpackedSize":7541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZGx+CRA9TVsSAnZWagAAJAcP/jk4+UQ5jRzL7bwDw0DJ\ndOE/7kvVsYv2J+p2LSRMdsYY5lclWOVGFMquphcTv+pD7OJ9nRYyvxtZfdZ1\nLOj6SVbUDqL0Go+HmG7X7Jp7VdU6e9ZLY2RXyH5TnqOTfDTKh5qDkfQF/+sg\nitaUCgEik4q7zE1mJlvEjYbNtjvr/cNXyHXYK+MIM/bP2ONAGhMR0/9YdVJI\nhd4s7aMUYXAcgjdJD+SCNFaIyoA8oGgKOedNtAN0IRTyGM0QewzXV9O7Vmoq\nkiVqtlmTvv87U4K+sqWdVoH/3Vndb2FRnqLkvYT3AAtMimJn473lEcRWUit1\njKyHMwthijohXz9bxKXAmkaoAVmzlxtOdfocL1fZUg4m5BWB6kgRRr1Grpr0\nPaCCtI7dh1+OAsNZuFWxegyqGr0KTJxQmkyDF2nofyLODW1uR6aOSPjnzq3H\nd5LxaMdVfkiXTmCIGMhCas30cfzziZsAC0HBhcuyWFyKXN+S07L01ruru8fx\nBYOkN0Wam3/QSceqwN9bsIPLvRA9yL90raXK0nZjbNj8NlBWskVSLhmfOyzY\nRjZmm0k0YLtOLlKMml3k3fk8pthcHAO3J/OzcgObL3AE2GaVUJLgdSbUPKR5\nTzZ2ET9L/+OuEIj9Hg/pSTtYGDQsaaA6vXNTiVXX4dkU34T18bSU1QH8G8+H\nnzdZ\r\n=PbXP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCko4L+JVzr7yYgiZVQ8tObcfKwi4eS5Dchlp6q2xAMBwIgXJy3nS9CHoOGriL9/lFQ09RgFP21BfUd2/0h61wzjLs="}]},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interval_0.1.1_1550085245428_0.612444265570101"},"_hasShrinkwrap":false},"0.1.2":{"name":"@use-it/interval","publishConfig":{"access":"public"},"version":"0.1.2","description":"A custom React Hook that provides a declarative useInterval.","main":"dist/interval.js","umd:main":"dist/interval.umd.js","module":"dist/interval.m.js","source":"src/index.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/donavon/use-interval.git"},"scripts":{"prepublishOnly":"npm run build","lint":"eslint src","test":"jest --verbose --coverage --silent","test:watch":"jest --watch --runInBand --silent","prebuild":"npm run lint && npm t && rimraf dist","build":"microbundle -o dist/ --sourcemap false --target web","dev":"microbundle watch -o dist/ --sourcemap false --compress false"},"keywords":["react-hooks","hooks","react","utils","lib","interval"],"author":{"name":"donavon"},"devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^23.6.0","eslint":"^5.10.0","eslint-config-amex":"^9.0.0","jest":"^23.6.0","jest-dom":"^3.0.0","microbundle":"^0.9.0","react":"^16.8.0","react-dom":"^16.8.0","react-testing-library":"^5.8.0","rimraf":"^2.6.2"},"peerDependencies":{"react":"^16.8.0"},"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"de6cdc9a9b65a3a08467132031d0e47e91ae8a81","bugs":{"url":"https://github.com/donavon/use-interval/issues"},"homepage":"https://github.com/donavon/use-interval#readme","_id":"@use-it/interval@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"donavon","email":"github@donavon.com"},"dist":{"integrity":"sha512-PyyWOPdlKKMSbMugIm8M8QaRdxTLRixUZsl+w5K0DkCrZSb/dY75clNLwVRHzw8r/JO/IIERhXuyeaejDSNJnA==","shasum":"7955531917eeb64a11e7c1326cbb20f2a5583b29","tarball":"https://registry.npmjs.org/@use-it/interval/-/interval-0.1.2.tgz","fileCount":7,"unpackedSize":7537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrxg4CRA9TVsSAnZWagAAEEQP/AytGOfwNp92WBn9+R+q\nREB5ZMzYCNiHADbg1pu04Csq2zJBGnjTD26Jmio/k6P8DbLfbnB/P1gpjTg3\naCcVnbzU0f5XNzrbF6PX7Z+GFwwKPqlJAslNEbVCvvvepI5u2ZjyVQGvmipd\n3fV2h7VX18eTv+o4YZkYTVwJ0jcAZfpfiRNZW2EMkeAPlNfO5T9uGnDULTE7\nGePV1vMgfR7yHZGRxeqL9GvY6UWHiBLf3YDKa3bhz5RL9eBwvnn/1vGVDzZD\nicZb+yRKOkE/Lae0thmUEo244/RWy/dKARuiFOpF7lhMvea0gDALftQp7Mpw\njH8f1Sx7BkIW8LpnPLH3AjAEbFWBjB7W9mBTBEzSxvrwMQUIcgx8qlZP+1Sc\nObzjA5IAsOcFZYGri3qo5MY77NGjLhtAzobb2J1bad0JKGbpmRLegsnMHa3O\nl9NLzoLfgvI/raQKMY1Pg+wh+bWQy8VlVcmKc802hPpCac7XFW8ZqA9lXtvw\nrJYptPAGlZ+JBnOaSyUqCmpQ/MxgDWjDN4t4NDb4BeONk9X4VC5Yr8wgg1dv\nYQAj4EvyAb/RMsHqJpMpDeTlnNp77bfVKc4WTlNAcDWtqVaz0iloh+K1ymSX\nl3oQFnI2pDGpWpO3RUHK4GUYLt3Iqfkpv8eyL8qdt/M7GdpOhrJImuFhphLL\nO4ia\r\n=lPKt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGv1xrTh4WvQZ5n4O3eES6abGZUGHSElC+LjVv42Jv45AiEA+7m+/iFN8aeSB1WvhsC8suwLGkorUaShI98Kcn2UQ4U="}]},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interval_0.1.2_1554978871893_0.8460911117077403"},"_hasShrinkwrap":false},"0.1.3":{"name":"@use-it/interval","publishConfig":{"access":"public"},"version":"0.1.3","description":"A custom React Hook that provides a declarative useInterval.","main":"dist/interval.js","umd:main":"dist/interval.umd.js","module":"dist/interval.m.js","source":"src/index.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/donavon/use-interval.git"},"scripts":{"prepublishOnly":"npm run build","lint":"eslint src","test":"jest --verbose --coverage --silent","test:watch":"jest --watch --runInBand --silent","prebuild":"npm run lint && npm t && rimraf dist","build":"microbundle -o dist/ --sourcemap false --target web","dev":"microbundle watch -o dist/ --sourcemap false --compress false"},"keywords":["react-hooks","hooks","react","utils","lib","interval"],"author":{"name":"donavon"},"devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^23.6.0","eslint":"^5.10.0","eslint-config-amex":"^9.0.0","jest":"^23.6.0","jest-dom":"^3.0.0","microbundle":"^0.9.0","react":"^16.8.0","react-dom":"^16.8.0","react-testing-library":"^5.8.0","rimraf":"^2.6.2"},"peerDependencies":{"react":"^16.8.0"},"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"3386e7121eea0da22fbda4fed88de19243c2dceb","bugs":{"url":"https://github.com/donavon/use-interval/issues"},"homepage":"https://github.com/donavon/use-interval#readme","_id":"@use-it/interval@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"donavon","email":"github@donavon.com"},"dist":{"integrity":"sha512-chshdtDZTFoWA9aszBz1Cc04Ca9NBD2JTi/GMjdJ+HGm4q7Vy1v71+2mm22r7Kfb2nYW+lTRsPcEHdB/VFVHsQ==","shasum":"5d1096b2295d7a5dda8e8022f3abb5f9d9ef27f8","tarball":"https://registry.npmjs.org/@use-it/interval/-/interval-0.1.3.tgz","fileCount":7,"unpackedSize":7854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcscweCRA9TVsSAnZWagAA900P/jjX69xUrFXNiJID4yOf\no7JaHJ+4sUkh7EVs5t4G0t6FwA1NoFi6nr1aFdUupNIjJLPzE9Hh9fxQp7VU\ndA5fGnX70nDrkCzGT2ro1PIRL/31e6BLzhP0TE/d5zOfP7F+gR26o4D7hAqv\nTny49cNtu3ozh9EnNq87z395qqF5wgWpI0t4lNXyyuhIQAapWJsNcacdSILD\nXdIAsznu0jf8gfkf9NWN6JnzToIphkY92DZcZSNnjIaLl+HxXK08W5aihnHd\nk6VK29iRmEPCHASSRuyt6nJvgNkkG64KzG+whV6OyoG4EcUCwDdAAMkIghT1\nophLyRMayKYYdWwXwGO3+ZZglRp9HPjx2y3IHvtZeioj9cAZv4GIiga0ZRG6\n2QK3iFoOip9ZK8/8X6nGGBPYWDFTTQe0p731jAH3X4odrhdoNycY0HDtGS+u\nUwnlJRNF2OfH2jN05QuSt8h13MO+oLNalzM9INRKOrWEIGTVj/yPhSPZ9WvK\nbUA462WaIqVEGnnJN9mNGM/jFQreplCp06jQEOBPTAMM9dh05LfEKrhzpFkE\n+Vw41Aq2WKTCXIU9HKnKyJCbg83E/pGOpumjbllI4/MgUNjAaphWjp9ThIu/\nBTh5oURVz2fgeUAmu9vQmFfvgOWP0Ur1dVCWv1wMKhzXCb8yL6mQ/Ct5fwt0\n06bq\r\n=9OTC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcWFwevPbF8kjOiFeSJANh3nqwrgRwzUb0SYbEtKZIdQIgMV49grQeIuAfYmIX5qZ/KcqPj8JyKXUdAkUShRphMNI="}]},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interval_0.1.3_1555155998014_0.7192752828306301"},"_hasShrinkwrap":false},"0.1.4":{"name":"@use-it/interval","publishConfig":{"access":"public"},"version":"0.1.4","description":"A custom React Hook that provides a declarative useInterval.","main":"dist/interval.js","umd:main":"dist/interval.umd.js","module":"dist/interval.m.js","source":"src/index.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/donavon/use-interval.git"},"scripts":{"prepublishOnly":"npm run build","lint":"eslint src","test":"jest --verbose --coverage --silent","test:watch":"jest --watch --runInBand --silent","prebuild":"npm run lint && npm t && rimraf dist","build":"microbundle -o dist/ --sourcemap false --target web","dev":"microbundle watch -o dist/ --sourcemap false --compress false"},"keywords":["react-hooks","hooks","react","utils","lib","interval"],"author":{"name":"donavon"},"devDependencies":{"@babel/core":"^7.12.3","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@testing-library/jest-dom":"^5.11.6","@testing-library/react-hooks":"^3.4.2","eslint":"^7.13.0","eslint-config-amex":"^12.2.0","jest":"^26.6.3","microbundle":"^0.12.4","react":"^16.14.0","react-dom":"^16.14.0","react-test-renderer":"^16.14.0","rimraf":"^3.0.2"},"peerDependencies":{"react":"^16.8.0"},"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"dependencies":{},"gitHead":"60249d1baaf3e88becd19791b44700ae935ee89e","bugs":{"url":"https://github.com/donavon/use-interval/issues"},"homepage":"https://github.com/donavon/use-interval#readme","_id":"@use-it/interval@0.1.4","_nodeVersion":"10.23.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ZjBRc7BTVpcoDPxupiCiA0vKicrjYVIq7AMwwBbg1w5ogKVXU60BZDpFkJK62sHzC/LeyT2QZMjdRZkoxMGf9g==","shasum":"bcb862665796cd675d3e8a6d7ac458f9cefe8b16","tarball":"https://registry.npmjs.org/@use-it/interval/-/interval-0.1.4.tgz","fileCount":9,"unpackedSize":8860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftpl2CRA9TVsSAnZWagAAZA4P/iBQPJ3yFe2IXlpvYz8v\nGD6Z6WIcKJ3GmcPZlRmE8rnIzIjdW4zFI3kqhBb3+jkSl+1Uaziu/4UlM//9\nV4d+bNGYvJjMLh7LKTQrEIB9EPzsxiY1jsHTz9YmEb/FYojxIAtc9gSm6VM2\nCs7wc2nRfOtIjfRkI3PDirKLcXUxngX+ZhW1LGdJwcOQ9Yffhrh30k72/ADF\npAG7LqlO+6u/O7mcGYP5VDKFhHNkgTGuBLGfJT4zWXqXVAl8aGqlq44hyXAi\nWuhksse8VDViU5SC2el+eOaniL66gMzKgnEUxtP3VJUjaMGDcgcFvTAzq6fU\nT+eJQfR+7pDKuKX6PQphAfcn20MFPqt6G7Gz62M8HvZbW574BN1gGGVf/r5z\ntHodg2DjL4rBvLOtl1LiTZ6zAaGn+gTsD26w4WS3jSQwDtP0L7ju4HkNjrE4\nOb2XsnKDBZh4jFd/EnRo/ReoARgaMcpjQqhvussHqsYVYaGZ/EhCc8nOkLfk\nhHZRWo1GRG/WyZqeLSNxkQDwU2cafaHSxomgCNf2V/f1ncmWEjEnAu5lLaR8\nAEbM7bjBj3Kv5041j7nBwMGCKkaqLJfi6aKlBW9PoK0/5LFsONLDHbzC1F05\n63gzqkDBdnOJnPAO8nSZKurrKW07EMWUGYpkLyKnfC5H3sF63Zo74Gvjw4XG\nJXoa\r\n=pnFz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDmD6uMjs1Mm0TLg1lXcefbhScVXtXMkcNACrRPds5IlAiAV0FdlfPSYFPj1TqrELKfBcRFr7w1P2K+ZaERG9fPI+g=="}]},"_npmUser":{"name":"donavon","email":"github@donavon.com"},"directories":{},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interval_0.1.4_1605802358233_0.6093653327335338"},"_hasShrinkwrap":false},"1.0.0-beta.1":{"name":"@use-it/interval","publishConfig":{"access":"public","tag":"next"},"version":"1.0.0-beta.1","description":"A custom React Hook that provides a declarative useInterval.","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests --watchAll","test:ci":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16.8"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"author":{"name":"Donavon West"},"keywords":["react-hooks","hooks","react","utils","lib","interval"],"module":"dist/use-interval-ts.esm.js","size-limit":[{"path":"dist/use-interval-ts.cjs.production.min.js","limit":"10 KB"},{"path":"dist/use-interval-ts.esm.js","limit":"10 KB"}],"devDependencies":{"@babel/preset-react":"^7.12.5","@size-limit/preset-small-lib":"^4.8.0","@testing-library/jest-dom":"^5.11.6","@testing-library/react-hooks":"^3.4.2","@types/react":"^16.9.56","@types/react-dom":"^16.9.9","husky":"^4.3.0","react":"^17.0.1","react-dom":"^17.0.1","react-test-renderer":"^17.0.1","size-limit":"^4.8.0","tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.1.2"},"readme":"# @use-it/interval\n\nA custom React Hook that provides a declarative `setInterval` called `useInterval`.\n\n> New version 1.0 has been completely rewritten in TypeScript!\n\n[![npm version](https://badge.fury.io/js/%40use-it%2Finterval.svg)](https://badge.fury.io/js/%40use-it%2Finterval)\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\n\nThis hook is an implementation of [Dan Abramov](https://github.com/gaearon)'s blog post\n[\"Making setInterval Declarative with React Hooks\"](https://overreacted.io/making-setinterval-declarative-with-react-hooks/).\n\n## Installation\n\n```bash\n$ npm i @use-it/interval\n```\n\nor\n\n```bash\n$ yarn add @use-it/interval\n```\n\n## Usage\n\nHere is a basic setup.\n\n```js\nuseInterval(callback, delay);\n```\n\n### Parameters\n\nHere are the parameters that you can use.\n\n| Parameter  | Description                                                                      |\n| :--------- | :------------------------------------------------------------------------------- |\n| `callback` | A function that will be called every `delay` milliseconds.                       |\n| `delay`    | A number representing the delay in msecs. Set to `null` to \"pause\" the interval. |\n\n### Return\n\nThis hook returns nothing.\n\n## Example\n\nLet's look at some sample code. Here is a `Counter` component that counts up every second.\n\n```js\nimport React, { useState } from 'react';\nimport useInterval from '@use-it/interval';\n\nconst Counter = ({ delay = 1000 }) => {\n  const [count, setCount] = useState(0);\n\n  useInterval(() => {\n    setCount(currentCount => currentCount + 1);\n  }, delay);\n\n  return <h1>{count}</h1>;\n};\n\nexport default Counter;\n```\n\n## Live demo\n\nYou can view/edit the sample code above on CodeSandbox.\n\n[![Edit demo app on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/2n542qnzr)\n\n## License\n\n**[MIT](LICENSE)** Licensed\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"http://donavon.com\"><img src=\"https://avatars3.githubusercontent.com/u/887639?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Donavon West</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=donavon\" title=\"Code\">💻</a> <a href=\"#infra-donavon\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/donavon/use-interval/commits?author=donavon\" title=\"Tests\">⚠️</a> <a href=\"#example-donavon\" title=\"Examples\">💡</a> <a href=\"#maintenance-donavon\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/donavon/use-interval/pulls?q=is%3Apr+reviewed-by%3Adonavon\" title=\"Reviewed Pull Requests\">👀</a> <a href=\"#tool-donavon\" title=\"Tools\">🔧</a></td>\n    <td align=\"center\"><a href=\"http://twitter.com/dan_abramov\"><img src=\"https://avatars0.githubusercontent.com/u/810438?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dan Abramov</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=gaearon\" title=\"Code\">💻</a> <a href=\"#blog-gaearon\" title=\"Blogposts\">📝</a> <a href=\"#ideas-gaearon\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#tutorial-gaearon\" title=\"Tutorials\">✅</a></td>\n    <td align=\"center\"><a href=\"http://michaelsync.net\"><img src=\"https://avatars1.githubusercontent.com/u/192911?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Sync</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/issues?q=author%3Amichaelsync\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://onetwo.ren\"><img src=\"https://avatars1.githubusercontent.com/u/3746270?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>lin onetwo</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=linonetwo\" title=\"Code\">💻</a> <a href=\"https://github.com/donavon/use-interval/issues?q=author%3Alinonetwo\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"http://daniel-lauzon.com/\"><img src=\"https://avatars0.githubusercontent.com/u/326183?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel Lauzon</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=daneroo\" title=\"Code\">💻</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"60249d1baaf3e88becd19791b44700ae935ee89e","_id":"@use-it/interval@1.0.0-beta.1","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-PenDVR9U/U+sofYG48dFdf6eypMIPjW4xfhOhwmonwfv2loc/YxUcm1PdHgSgy9Ir062nhluFhAJv2zI7mqwkw==","shasum":"949c58296919e565ad04b759cb2393c218e32f7f","tarball":"https://registry.npmjs.org/@use-it/interval/-/interval-1.0.0-beta.1.tgz","fileCount":12,"unpackedSize":14024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftwdLCRA9TVsSAnZWagAAELgQAJApkuhctQu1PGZ34qfr\nkcZDCPE/l08vMyeNI5NEhaqAf/wxOMsbbsxKPsUq9h0pKHdPrEU88DSyEc0h\nsTqupWS/4WF5cDoBKthXnDMl0Gz1s2JJqjEA1KGMNN1loYI9JsKp4Bb3B4DP\nkIAVo83OM6n7HczZ9SSQVfk9ZgGHRKuNopj0La54oR4Wv3VIjbZONE6RAZsr\ndCinq/itRtYcb8VA4u7HZcerjAatahZxWhwa7vcvZ/s2zwbhqf/NchreblbF\nP/xEptNNMfiBjihgBS1i+Kapir7Um1VZKHJaJTfhVzNb0YVn77cgu/tce/rB\nvFoQoUa84pOsjtqvHRclXe0zf15fmqaGh6gpHcaw2adrVG15nxiPQ+bQ7PxV\nq0/FGXSzmoGVo7Xf2E7Fjvgo6PyeCSGzzpNpZkvP4K1FjSbbRH7nGAcmhRXq\noFhpnbU0iILsyMVlXoWn3lbP/vp5htK+uYhu5MVrbJlsDnnR/MWmAit8oTU5\nzXo1qlRlbqkjbxpIcn5k2sUghhi7VjNX8xUTvgI3b+k4Hwtf5CgPA93jIskT\nEYlr+oGPW7mAcrUswkq6RA/XyEj4CNFlENpZlpt/b9NVFIxURwdcc9CQ1h69\nI+A264q4iyy4uVyKilNO+JQNrCIgeYyqyElzPvG+iXjfpm0pF56Lt87FeTIU\nR/B/\r\n=MDLw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7Buadx4nvCpp2CdrzoqY1RevUoS6YfjLYxMCKNgQeFAiB7dR2Gbr9htD9FyAeanTHetwn1MQTAQw/1nizXo+Q7pA=="}]},"_npmUser":{"name":"donavon","email":"github@donavon.com"},"directories":{},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interval_1.0.0-beta.1_1605830475214_0.010376696510076444"},"_hasShrinkwrap":false},"1.0.0-beta.2":{"name":"@use-it/interval","publishConfig":{"access":"public","tag":"next"},"version":"1.0.0-beta.2","description":"A custom React Hook that provides a declarative useInterval.","license":"MIT","author":{"name":"Donavon West","email":"github@donavon.com","url":"https://donavon.com/"},"main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"repository":{"type":"git","url":"git+https://github.com/donavon/use-interval.git"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests --watchAll","test:ci":"tsdx test --passWithNoTests --coverage","test:coverage":"npm run test:ci","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16.8"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"keywords":["react-hooks","hooks","react","utils","lib","interval"],"module":"dist/use-interval-ts.esm.js","size-limit":[{"path":"dist/use-interval-ts.cjs.production.min.js","limit":"10 KB"},{"path":"dist/use-interval-ts.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^4.8.0","@testing-library/jest-dom":"^5.11.6","@testing-library/react-hooks":"^3.4.2","@types/react":"^16.9.56","@types/react-dom":"^16.9.9","husky":"^4.3.0","react":"^17.0.1","react-dom":"^17.0.1","react-test-renderer":"^17.0.1","size-limit":"^4.8.0","tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.1.2"},"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"readme":"# @use-it/interval\n\nA custom React Hook that provides a declarative `setInterval` called `useInterval`.\n\n> New version 1.0 has been completely rewritten in TypeScript!\n\n[![npm version](https://badge.fury.io/js/%40use-it%2Finterval.svg)](https://badge.fury.io/js/%40use-it%2Finterval)\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\n\nThis hook is an implementation of [Dan Abramov](https://github.com/gaearon)'s blog post\n[\"Making setInterval Declarative with React Hooks\"](https://overreacted.io/making-setinterval-declarative-with-react-hooks/).\n\n## Installation\n\n```bash\n$ npm i @use-it/interval\n```\n\nor\n\n```bash\n$ yarn add @use-it/interval\n```\n\n## Usage\n\nHere is a basic setup.\n\n```js\nuseInterval(callback, delay);\n```\n\n### Parameters\n\nHere are the parameters that you can use.\n\n| Parameter  | Description                                                                      |\n| :--------- | :------------------------------------------------------------------------------- |\n| `callback` | A function that will be called every `delay` milliseconds.                       |\n| `delay`    | A number representing the delay in msecs. Set to `null` to \"pause\" the interval. |\n\n### Return\n\nThis hook returns nothing.\n\n## Example\n\nLet's look at some sample code. Here is a `Counter` component that counts up every second.\n\n```js\nimport React, { useState } from 'react';\nimport useInterval from '@use-it/interval';\n\nconst Counter = ({ delay = 1000 }) => {\n  const [count, setCount] = useState(0);\n\n  useInterval(() => {\n    setCount((currentCount) => currentCount + 1);\n  }, delay);\n\n  return <h1>{count}</h1>;\n};\n\nexport default Counter;\n```\n\n## Live demo\n\nYou can view/edit the sample code above on CodeSandbox.\n\n[![Edit demo app on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/2n542qnzr)\n\n## License\n\n**[MIT](LICENSE)** Licensed\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"http://donavon.com\"><img src=\"https://avatars3.githubusercontent.com/u/887639?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Donavon West</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=donavon\" title=\"Code\">💻</a> <a href=\"#infra-donavon\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/donavon/use-interval/commits?author=donavon\" title=\"Tests\">⚠️</a> <a href=\"#example-donavon\" title=\"Examples\">💡</a> <a href=\"#maintenance-donavon\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/donavon/use-interval/pulls?q=is%3Apr+reviewed-by%3Adonavon\" title=\"Reviewed Pull Requests\">👀</a> <a href=\"#tool-donavon\" title=\"Tools\">🔧</a></td>\n    <td align=\"center\"><a href=\"http://twitter.com/dan_abramov\"><img src=\"https://avatars0.githubusercontent.com/u/810438?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dan Abramov</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=gaearon\" title=\"Code\">💻</a> <a href=\"#blog-gaearon\" title=\"Blogposts\">📝</a> <a href=\"#ideas-gaearon\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#tutorial-gaearon\" title=\"Tutorials\">✅</a></td>\n    <td align=\"center\"><a href=\"http://michaelsync.net\"><img src=\"https://avatars1.githubusercontent.com/u/192911?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Sync</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/issues?q=author%3Amichaelsync\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://onetwo.ren\"><img src=\"https://avatars1.githubusercontent.com/u/3746270?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>lin onetwo</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=linonetwo\" title=\"Code\">💻</a> <a href=\"https://github.com/donavon/use-interval/issues?q=author%3Alinonetwo\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"http://daniel-lauzon.com/\"><img src=\"https://avatars0.githubusercontent.com/u/326183?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel Lauzon</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=daneroo\" title=\"Code\">💻</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"60249d1baaf3e88becd19791b44700ae935ee89e","bugs":{"url":"https://github.com/donavon/use-interval/issues"},"homepage":"https://github.com/donavon/use-interval#readme","_id":"@use-it/interval@1.0.0-beta.2","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-gFwfEyCTAFYSLwpgk1LJHlRfaFExuBPfYCGjVnPOkhDo524PsF1FRmKVxiWzzfxdNrf3cHi18Y7WC2iDuhyFsg==","shasum":"aca93c7cc18bfb4f2e0685e2594554598865ab2d","tarball":"https://registry.npmjs.org/@use-it/interval/-/interval-1.0.0-beta.2.tgz","fileCount":12,"unpackedSize":14354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuHxfCRA9TVsSAnZWagAA8uQQAIW5skGYMMsXcmgX+7Mc\nbcNx7AhfcJRVW0vFez4x4WV9BF4KR65d3eOpyBaF1eAddVwCk3rS8p/P+7X/\ngAi1HQm8Yf20rir93B40lXR8IDzDclckuHNOz1whzTPH7iNsbrpAu8vdfixB\nPHomOSLCmPethHMStkl1grBlmM6jXmNRnvrXazyBPnJBxbuEdEP24BW/drl3\npox+ySfh5l4qIXMFtApbI71DKIN/bdOmxSWJNXqSaEk6R32cnSesG9UWe5Rp\nbIIG0dKz4CgW4bZQ68H4XizPiL/94q5nNNLoN5ETD6RmGtxKoBuXDEHl9dFb\nuhAUxjvya44kb/KMVB9+nuaFW5OrPtZDySRiLfer3GVPCmhf6pXAJcDdI4An\nE71nn37rl+SSbDfNL0yawESp/nVT6186rNcDi6ZmgMIqqBNx/Vc26u6AcKuZ\nvYaOQHNNkRji1b7ff8yeM2KXOPIyFz0cyZV2ARJdqP2+OG9up2bd3G6khNds\nrq4k2Ssr64WGk5tloQvmd6C9Gatu5ZOrH8vkfUhf9PNwGl77rwwZnEFapUOU\nGsiZOSkX6kjmXF9KjuK7xDdT8qxB5cii2KK5Ikjb0wgNuKH/jMz3GmMUL1jF\nyZ1HjDolB/iL8Zao52wZGVtkAcgFghOZ8CIaVhva2k0GKTzWLhVnkVE0dg/p\n58zK\r\n=KNH3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvJhB5hMQZPAGp3Xobq2AOVaWX/3/cKEKTEo6BZvWIeAIgYP+F6gOa546s/zKXwQ8TTGWLfrJxNnIAp7fsY4LUm0w="}]},"_npmUser":{"name":"donavon","email":"github@donavon.com"},"directories":{},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interval_1.0.0-beta.2_1605925983412_0.875482412515054"},"_hasShrinkwrap":false},"1.0.0":{"name":"@use-it/interval","publishConfig":{"access":"public","tag":"latest"},"version":"1.0.0","description":"A custom React Hook that provides a declarative useInterval.","license":"MIT","author":{"name":"Donavon West","email":"github@donavon.com","url":"https://donavon.com/"},"main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"repository":{"type":"git","url":"git+https://github.com/donavon/use-interval.git"},"scripts":{"start":"tsdx watch","build":"tsdx build","test:watch":"tsdx test --passWithNoTests --watchAll","test":"tsdx test --passWithNoTests --coverage","test:coverage":"npm run test:ci","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16.8"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"keywords":["react-hooks","hooks","react","utils","lib","interval"],"module":"dist/use-interval-ts.esm.js","size-limit":[{"path":"dist/use-interval-ts.cjs.production.min.js","limit":"10 KB"},{"path":"dist/use-interval-ts.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^4.8.0","@testing-library/jest-dom":"^5.11.6","@testing-library/react-hooks":"^3.4.2","@types/react":"^16.9.56","@types/react-dom":"^16.9.9","husky":"^4.3.0","react":"^17.0.1","react-dom":"^17.0.1","react-test-renderer":"^17.0.1","size-limit":"^4.8.0","tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.1.2"},"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"0c711534fdc054e405b316cee2a93c41aaaf8a2c","bugs":{"url":"https://github.com/donavon/use-interval/issues"},"homepage":"https://github.com/donavon/use-interval#readme","_id":"@use-it/interval@1.0.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-WQFcnSt/xM/mS8ZtJ0ut5lhPrl+V0HDPPcI/J0eUClsfiD+/r8A7IeW/pVcfpSVGWRmN3+WnjNteWuKyWs2WZg==","shasum":"c42c68f22ca29a0dc929041746373d94496d2b3a","tarball":"https://registry.npmjs.org/@use-it/interval/-/interval-1.0.0.tgz","fileCount":12,"unpackedSize":14356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuIfLCRA9TVsSAnZWagAA34UP/RQ+rDOd84KJsaZHSk2C\nSlQMpGzVmfzHoFJvd/DLdELOuNSTL2bHVG2TmH26DljsC4jPgYQkPQ+XW2pS\n+tIbKYDqSH8MZEUavn+mTcGj6m5xKBAMIG5dtcZmZIM2gvWd3epV6iaCpRGe\nLbT7hVNHMyzKXNjaCwgIFyD4SiZ0idrGJwMbaZa3dGv86Qs8z8whWXJ6D7ib\n4fJlEgj3eJibN9HIUfhXwITdrskLlZdczFchVbbbUSRb0Htp4W1UHP1prn30\nCuXpLTKJ3pDwoaiC/DIsEqUyuh0u8b5NW2eWMWLiVS0vfvtPF+U7mXXP2TXK\n3BaQIo/TjMWqE/K9nUjxnFRbBqyFXArqnJUXdgohHUrwrep1z2P9IjT4t0Pl\n5qtyckPwZUOJOtx3PIjiL+Ihy/j99Op6CwbZ477er7Bku9sD1BbWsbdui70w\npkhhA+bYVKoudX6lSfWmv6H8GBC7wy3FMF4FAZDXeTilhlHVz9/JUEir4JMZ\nI0Y99XOwM8jdAVjbOeDCUvo6a4YYEGjUNWsixw2ng/tgbUcKL1ylcrRT/J43\nerWOEJxUGerVwf6rf13PJ6/VWJTs14Thc8/ZZ+D4IwKZZWVOPH/EUD47Sm3s\nXslUvJtCaYMvREyBs8IfAPs8nLy3rDNNPx3dFvwhRuOjtl5j4cjjm7TnutQF\na3Ua\r\n=nlft\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJIRiD07Ua8GdAFq90be1h/H0PwQ/evIM+NF/Hct2MiAiEAmuAZOvWyp9dmUQ2L01a/O2kyPuUQZbuSIm/r5O0+BTE="}]},"_npmUser":{"name":"donavon","email":"github@donavon.com"},"directories":{},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/interval_1.0.0_1605928906733_0.07583621163382959"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-13T18:43:55.875Z","0.1.0":"2019-02-13T18:43:56.183Z","modified":"2022-04-07T09:54:29.344Z","0.1.1":"2019-02-13T19:14:05.573Z","0.1.2":"2019-04-11T10:34:32.012Z","0.1.3":"2019-04-13T11:46:38.218Z","0.1.4":"2020-11-19T16:12:38.383Z","1.0.0-beta.1":"2020-11-20T00:01:15.363Z","1.0.0-beta.2":"2020-11-21T02:33:03.548Z","1.0.0":"2020-11-21T03:21:46.865Z"},"maintainers":[{"name":"donavon","email":"github@donavon.com"}],"description":"A custom React Hook that provides a declarative useInterval.","homepage":"https://github.com/donavon/use-interval#readme","keywords":["react-hooks","hooks","react","utils","lib","interval"],"repository":{"type":"git","url":"git+https://github.com/donavon/use-interval.git"},"author":{"name":"Donavon West","email":"github@donavon.com","url":"https://donavon.com/"},"bugs":{"url":"https://github.com/donavon/use-interval/issues"},"license":"MIT","readme":"# @use-it/interval\n\nA custom React Hook that provides a declarative `setInterval` called `useInterval`.\n\n> New version 1.0 has been completely rewritten in TypeScript!\n\n[![npm version](https://badge.fury.io/js/%40use-it%2Finterval.svg)](https://badge.fury.io/js/%40use-it%2Finterval)\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\n\nThis hook is an implementation of [Dan Abramov](https://github.com/gaearon)'s blog post\n[\"Making setInterval Declarative with React Hooks\"](https://overreacted.io/making-setinterval-declarative-with-react-hooks/).\n\n## Installation\n\n```bash\n$ npm i @use-it/interval\n```\n\nor\n\n```bash\n$ yarn add @use-it/interval\n```\n\n## Usage\n\nHere is a basic setup.\n\n```js\nuseInterval(callback, delay);\n```\n\n### Parameters\n\nHere are the parameters that you can use.\n\n| Parameter  | Description                                                                      |\n| :--------- | :------------------------------------------------------------------------------- |\n| `callback` | A function that will be called every `delay` milliseconds.                       |\n| `delay`    | A number representing the delay in msecs. Set to `null` to \"pause\" the interval. |\n\n### Return\n\nThis hook returns nothing.\n\n## Example\n\nLet's look at some sample code. Here is a `Counter` component that counts up every second.\n\n```js\nimport React, { useState } from 'react';\nimport useInterval from '@use-it/interval';\n\nconst Counter = ({ delay = 1000 }) => {\n  const [count, setCount] = useState(0);\n\n  useInterval(() => {\n    setCount((currentCount) => currentCount + 1);\n  }, delay);\n\n  return <h1>{count}</h1>;\n};\n\nexport default Counter;\n```\n\n## Live demo\n\nYou can view/edit the sample code above on CodeSandbox.\n\n[![Edit demo app on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/2n542qnzr)\n\n## License\n\n**[MIT](LICENSE)** Licensed\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"http://donavon.com\"><img src=\"https://avatars3.githubusercontent.com/u/887639?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Donavon West</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=donavon\" title=\"Code\">💻</a> <a href=\"#infra-donavon\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/donavon/use-interval/commits?author=donavon\" title=\"Tests\">⚠️</a> <a href=\"#example-donavon\" title=\"Examples\">💡</a> <a href=\"#maintenance-donavon\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/donavon/use-interval/pulls?q=is%3Apr+reviewed-by%3Adonavon\" title=\"Reviewed Pull Requests\">👀</a> <a href=\"#tool-donavon\" title=\"Tools\">🔧</a></td>\n    <td align=\"center\"><a href=\"http://twitter.com/dan_abramov\"><img src=\"https://avatars0.githubusercontent.com/u/810438?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Dan Abramov</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=gaearon\" title=\"Code\">💻</a> <a href=\"#blog-gaearon\" title=\"Blogposts\">📝</a> <a href=\"#ideas-gaearon\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#tutorial-gaearon\" title=\"Tutorials\">✅</a></td>\n    <td align=\"center\"><a href=\"http://michaelsync.net\"><img src=\"https://avatars1.githubusercontent.com/u/192911?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Michael Sync</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/issues?q=author%3Amichaelsync\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"https://onetwo.ren\"><img src=\"https://avatars1.githubusercontent.com/u/3746270?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>lin onetwo</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=linonetwo\" title=\"Code\">💻</a> <a href=\"https://github.com/donavon/use-interval/issues?q=author%3Alinonetwo\" title=\"Bug reports\">🐛</a></td>\n    <td align=\"center\"><a href=\"http://daniel-lauzon.com/\"><img src=\"https://avatars0.githubusercontent.com/u/326183?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel Lauzon</b></sub></a><br /><a href=\"https://github.com/donavon/use-interval/commits?author=daneroo\" title=\"Code\">💻</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md"}