{"_id":"debounce","_rev":"1745215","name":"debounce","description":"Delay function calls until a set time elapses after the last invocation","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2026-11-19T13:56:40.000Z","created":"2013-08-21T18:08:51.880Z","4.0.0":"2026-11-14T19:28:43.324Z","3.0.0":"2025-11-02T18:37:38.510Z","2.2.0":"2024-10-14T16:38:31.183Z","2.1.1":"2024-09-09T16:01:14.394Z","2.1.0":"2024-05-25T10:42:51.554Z","2.0.0":"2023-11-15T18:55:03.719Z","1.2.1":"2021-03-09T18:32:25.739Z","1.2.0":"2018-08-14T14:00:34.193Z","1.1.0":"2017-10-30T15:30:34.054Z","1.0.2":"2017-04-21T16:54:56.614Z","1.0.0":"2014-06-21T18:38:11.876Z","0.0.3":"2013-08-21T18:30:31.260Z","0.0.2":"2013-08-21T18:08:51.880Z"},"users":{"lmartins":true,"bartmichu":true,"sahilsk":true,"ash":true,"wenbing":true,"arkanciscan":true,"r3nya":true,"davidbraun":true,"vutran":true,"quocnguyen":true,"scottfreecode":true,"mysticatea":true,"travis346":true,"troyblank":true,"spkjess":true,"gamersdelight":true},"repository":{"url":"git+https://github.com/sindresorhus/debounce.git","type":"git"},"versions":{"4.0.0":{"_id":"debounce@4.0.0","bugs":{"url":"https://github.com/sindresorhus/debounce/issues"},"dist":{"shasum":"63de5ae349506abf1e386df099b9dba52d1299ce","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-4.0.0.tgz","fileCount":5,"integrity":"sha512-o6nMNFRtqLR6mRlyt0b21cgYPSKAEMZFpROIRS9ZRH6hhSJWvGErqeSCJnWyiwVQYMSw7f/DZLilF5YRDwFz7w==","signatures":[{"sig":"MEUCIQD/qmM10TtbfWK05Tc/ACnMA2j2TW3FK7SRNQ+DcKpDsgIgM3BaH1ywTGKKzuMROZyY4HnEMJj/LnDKP3kiJf/SGJs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIC3+4hyHZKOepn1JSPJ75/EVXPxvfoooIV4c3srNGYWlAiEAyAyBoTRyoRAGPRBpwK5JQAXS6tOGMLuNvg8ShZxd7R4="}],"unpackedSize":12895,"size":4909,"noattachment":false,"key":"/debounce/-/debounce-4.0.0.tgz"},"name":"debounce","type":"module","types":"./index.d.ts","engines":{"node":">=22.2"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"56dde2942b4501aee41f5c7d0f94a0985f1709e7","license":"MIT","scripts":{"test":"xo && node --test && nz"},"version":"4.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"homepage":"https://github.com/sindresorhus/debounce#readme","keywords":["debouncing","function","throttle","invoke","limit","limited","interval","rate","batch","rate-limit"],"repository":{"url":"git+https://github.com/sindresorhus/debounce.git","type":"git"},"_npmVersion":"12.2.0","description":"Delay function calls until a set time elapses after the last invocation","directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"sideEffects":false,"_nodeVersion":"26.12.1","_hasShrinkwrap":false,"devDependencies":{"nz":"^0.1.1","xo":"^5.0.1","typescript":"^6.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/debounce_4.0.0_1794684523233_0.5656531619334502"},"publish_time":1794684523324,"_cnpm_publish_time":1794684523324},"3.0.0":{"name":"debounce","version":"3.0.0","description":"Delay function calls until a set time elapses after the last invocation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/debounce.git"},"funding":"https://github.com/sponsors/sindresorhus","type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && node --test"},"keywords":["debounce","debouncing","function","throttle","invoke","limit","limited","interval","rate","batch","rate-limit"],"devDependencies":{"xo":"^0.56.0"},"gitHead":"cc34d9071e15cc548c23b9bc9441bebb5c81024d","types":"./index.d.ts","_id":"debounce@3.0.0","bugs":{"url":"https://github.com/sindresorhus/debounce/issues"},"homepage":"https://github.com/sindresorhus/debounce#readme","_nodeVersion":"20.19.5","_npmVersion":"11.6.1","dist":{"integrity":"sha512-64byRbF0/AirwbuHqB3/ZpMG9/nckDa6ZA0yd6UnaQNwbbemCOwvz2sL5sjXLHhZHADyiwLm0M5qMhltUUx+TA==","shasum":"7633adff3bcd92cdfe13370c2f46e87bdb946a1b","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-3.0.0.tgz","fileCount":5,"unpackedSize":8589,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCzKt/qCymUJeUSORoEV8vOAjlAN+xyAMBiYEPgbQx7aAIhANNehQ9/Gt4TZNSrh5C5Cgq8X6hYrLAyRukII9RMhnz1"}],"size":3343,"noattachment":false,"key":"/debounce/-/debounce-3.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/debounce_3.0.0_1762108658317_0.435524262188004"},"_hasShrinkwrap":false,"publish_time":1762108658510,"_cnpm_publish_time":1762108658510},"2.2.0":{"name":"debounce","version":"2.2.0","description":"Delay function calls until a set time elapses after the last invocation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/debounce.git"},"funding":"https://github.com/sponsors/sindresorhus","exports":{"types":"./index.d.ts","default":"./index.js"},"main":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && node --test"},"keywords":["debounce","debouncing","function","throttle","invoke","limit","limited","interval","rate","batch","ratelimit"],"devDependencies":{"sinon":"^17.0.1","xo":"^0.56.0"},"xo":{"rules":{"unicorn/prefer-module":"off"}},"_id":"debounce@2.2.0","gitHead":"12050fccb40bc34c7b8d03067a12a7e9fb2266df","bugs":{"url":"https://github.com/sindresorhus/debounce/issues"},"homepage":"https://github.com/sindresorhus/debounce#readme","_nodeVersion":"22.6.0","_npmVersion":"10.6.0","dist":{"integrity":"sha512-Xks6RUDLZFdz8LIdR6q0MTH44k7FikOmnh5xkSjMig6ch45afc8sjTjRQf3P6ax8dMgcQrYO/AR2RGWURrruqw==","shasum":"f895fa2fbdb579a0f0d3dcf5dde19657e50eaad5","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-2.2.0.tgz","fileCount":5,"unpackedSize":7148,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGh5zTGCHQRD5nZoM8cPNlrlU4k/tTFyN7XmoJHvC86qAiEA2TGi3UK8zdPZ1lJ4OpDZu+pLw4U5+5FQRni3SQOb+JI="}],"size":3035,"noattachment":false,"key":"/debounce/-/debounce-2.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce_2.2.0_1728923910988_0.7269666090014484"},"_hasShrinkwrap":false,"publish_time":1728923911183,"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_cnpm_publish_time":1728923911183},"2.1.1":{"name":"debounce","version":"2.1.1","description":"Delay function calls until a set time elapses after the last invocation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/debounce.git"},"funding":"https://github.com/sponsors/sindresorhus","exports":{"types":"./index.d.ts","default":"./index.js"},"main":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && node --test"},"keywords":["debounce","debouncing","function","throttle","invoke","limit","limited","interval","rate","batch","ratelimit"],"devDependencies":{"sinon":"^17.0.1","xo":"^0.56.0"},"xo":{"rules":{"unicorn/prefer-module":"off"}},"_id":"debounce@2.1.1","gitHead":"dc9d9ecc3e00bfa9ad56edd1144c539ec8c09ec8","bugs":{"url":"https://github.com/sindresorhus/debounce/issues"},"homepage":"https://github.com/sindresorhus/debounce#readme","_nodeVersion":"18.20.4","_npmVersion":"10.6.0","dist":{"integrity":"sha512-+xRWxgel9LgTC4PwKlm7TJUK6B6qsEK77NaiNvXmeQ7Y3e6OVVsBC4a9BSptS/mAYceyAz37Oa8JTTuPRft7uQ==","shasum":"8ae1d5233ec5abd1c8edf3e994a9286a73d0f4ff","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-2.1.1.tgz","fileCount":5,"unpackedSize":6775,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZhNN/I31MNkaBgsRPc/VJo6KAYW7jl34/qpSfeGoS+wIhAPRD6yqKe7/Gb2Uh4TIOSNEsw/PUZeRoJVQ+cAz8tNYQ"}],"size":2932,"noattachment":false,"key":"/debounce/-/debounce-2.1.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce_2.1.1_1725897674192_0.7640689216993264"},"_hasShrinkwrap":false,"publish_time":1725897674394,"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_cnpm_publish_time":1725897674394},"2.1.0":{"name":"debounce","version":"2.1.0","description":"Delay function calls until a set time elapses after the last invocation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/debounce.git"},"funding":"https://github.com/sponsors/sindresorhus","exports":{"types":"./index.d.ts","default":"./index.js"},"main":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && node --test"},"keywords":["debounce","debouncing","function","throttle","invoke","limit","limited","interval","rate","batch","ratelimit"],"devDependencies":{"sinon":"^17.0.1","xo":"^0.56.0"},"xo":{"rules":{"unicorn/prefer-module":"off"}},"_id":"debounce@2.1.0","gitHead":"312a06ebd5aa5134d007ce7964cde04ce98e32bd","bugs":{"url":"https://github.com/sindresorhus/debounce/issues"},"homepage":"https://github.com/sindresorhus/debounce#readme","_nodeVersion":"18.20.2","_npmVersion":"10.6.0","dist":{"integrity":"sha512-OkL3+0pPWCqoBc/nhO9u6TIQNTK44fnBnzuVtJAbp13Naxw9R6u21x+8tVTka87AhDZ3htqZ2pSSsZl9fqL2Wg==","shasum":"eab25eaf254b848fcfccffbde75bdaa44842caa3","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-2.1.0.tgz","fileCount":5,"unpackedSize":6668,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtsGbuGRbH5ht0oBU5+p2Wjd199SwtIQP5t91GCTz/YwIgKg56VD3lcWXzvctBIYXQNcG9vJIUyb39CfpRYK2vaOI="}],"size":2895,"noattachment":false,"key":"/debounce/-/debounce-2.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce_2.1.0_1716633771389_0.8632625473268731"},"_hasShrinkwrap":false,"publish_time":1716633771554,"_cnpm_publish_time":1716633771554},"2.0.0":{"name":"debounce","version":"2.0.0","description":"Delay function calls until a set time elapses after the last invocation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/debounce.git"},"funding":"https://github.com/sponsors/sindresorhus","exports":{"types":"./index.d.ts","default":"./index.js"},"main":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && node --test"},"keywords":["debounce","debouncing","function","throttle","invoke","limit","limited","interval","rate","batch","ratelimit"],"devDependencies":{"sinon":"^17.0.1","xo":"^0.56.0"},"xo":{"rules":{"unicorn/prefer-module":"off"}},"gitHead":"1b1d4d8de8bee33578c8b855407cdd31454422b0","bugs":{"url":"https://github.com/sindresorhus/debounce/issues"},"homepage":"https://github.com/sindresorhus/debounce#readme","_id":"debounce@2.0.0","_nodeVersion":"21.1.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-xRetU6gL1VJbs85Mc4FoEGSjQxzpdxRyFhe3lmWFyy2EzydIcD4xzUvRJMD+NPDfMwKNhxa3PvsIOU32luIWeA==","shasum":"b2f914518a1481466f4edaee0b063e4d473ad549","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-2.0.0.tgz","fileCount":5,"unpackedSize":6415,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5typW2ld1XSjFAFGHc7sWBMnLrwH/30B4IJGsAmaxgQIhAI53QELz5G84S14Kkzrqu5HzE1p30jflIIlr1LKSLGLL"}],"size":2798,"noattachment":false,"key":"/debounce/-/debounce-2.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"coreh","email":"thecoreh@gmail.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"},{"name":"timaschew","email":"timaschew@gmail.com"},{"name":"anthonyshort","email":"antshort@gmail.com"},{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},{"name":"clintwood","email":"clint@anotherway.co.za"},{"name":"cristiandouce","email":"cristiandouce@gmail.com"},{"name":"stagas","email":"gstagas@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"kelonye","email":"kelonyemitchel@gmail.com"},{"name":"amasad","email":"amjad.masad@gmail.com"},{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"thehydroimpulse","email":"dnfagnan@gmail.com"},{"name":"dominicbarnes","email":"dominic@segment.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"mattmueller","email":"mattmuelle@gmail.com"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"yields","email":"yields@icloud.com"},{"name":"stephenmathieson","email":"me@stephenmathieson.com"},{"name":"retrofox","email":"rdsuarez@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"timoxley","email":"secoif@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"calvinfo","email":"calvin@calv.info"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce_2.0.0_1700074503532_0.7553481672169307"},"_hasShrinkwrap":false,"publish_time":1700074503719,"_cnpm_publish_time":1700074503719},"1.2.1":{"name":"debounce","description":"Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked","version":"1.2.1","repository":{"type":"git","url":"git://github.com/component/debounce.git"},"main":"index.js","scripts":{"test":"minijasminenode test.js"},"license":"MIT","keywords":["function","throttle","invoke"],"devDependencies":{"minijasminenode":"^1.1.1","sinon":"^1.17.7","mocha":"*","should":"*"},"component":{"scripts":{"debounce/index.js":"index.js"}},"gitHead":"8be734c4b5b5a58a517f2441e0d90242a4a564cd","bugs":{"url":"https://github.com/component/debounce/issues"},"homepage":"https://github.com/component/debounce#readme","_id":"debounce@1.2.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==","shasum":"38881d8f4166a5c5848020c11827b834bcb3e0a5","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-1.2.1.tgz","fileCount":10,"unpackedSize":11960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgR786CRA9TVsSAnZWagAAgSIP/joChvTwyYf+Ukc0WMF/\nRK83WWbpOREJ9Yl8ou/BLMfLVlg1qjACb3f28nery/bbxEISp9Go6j4tD2vX\nTcxZA2AcshzoXVPjwfFUHWo+6v+axbovMXWU5b7OYdarEeC11FCVnS1jJTd+\n+j9V2iuEZSeY2hfWexMBaToviInFQUPmD9ocC2Uo5cuaeISJXV9d9Mw1cNUQ\n806ova4Ng9/nzfJ0DHzpqMrDHU+nbzHuAo/NY2p7IhO0XqgENoMw9NBubdh3\nnSd+fkUlvSt24dMfSsmbKj33jPu5JLvSBmT+yq303Sa+01jmJEzenbQHPoQD\nGrNZ9n9iQSkge0QnsPpF285B2d+xslqUy7o34pD42nDw4UMMUQfM2ozgKT2x\nI6FFvFwU3iCBWzaEoTbajSAn8aXOmh9jCNrOmvRr+UO98I7qB+wjXwQei7RR\n22004fX1XuuCu6xSe+L2SCpUWwCS31JlYeLipnNrMlgqA4iSiZGYz3lUzuCe\nU0MmndYDTT+QpHyPXo92TcWJNfkRMYXp8/EnDvoV9nrA5DhxxazqwE5LwD/x\n1S/Qzc/6ocDS1yxPHTgk4uvx1IiAviywFb1hdMN/4ZUnySZ+4BfQ+RrxEoBN\nbZqt+AGzwE3FBUOMsERy1VLIc+YBMsUCT2Zm71rj9Yrt7wxUoBvcvjrigXNA\nx5oS\r\n=ruHi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICkgRYEv92a9gM+yIpMmf0h9cYBsMIz+EY1b4Af7EegbAiEAhXBD5/UUasEsWiZhTGkkv0MwXmN3Ody5zUe7Q8F6lpM="}],"size":4207,"noattachment":false,"key":"/debounce/-/debounce-1.2.1.tgz"},"_npmUser":{"name":"stephenmathieson","email":"me@stephenmathieson.com"},"directories":{},"maintainers":[{"name":"coreh","email":"thecoreh@gmail.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"},{"name":"timaschew","email":"timaschew@gmail.com"},{"name":"anthonyshort","email":"antshort@gmail.com"},{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},{"name":"clintwood","email":"clint@anotherway.co.za"},{"name":"cristiandouce","email":"cristiandouce@gmail.com"},{"name":"stagas","email":"gstagas@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"kelonye","email":"kelonyemitchel@gmail.com"},{"name":"amasad","email":"amjad.masad@gmail.com"},{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"thehydroimpulse","email":"dnfagnan@gmail.com"},{"name":"dominicbarnes","email":"dominic@dbarnes.info"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"mattmueller","email":"mattmuelle@gmail.com"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"yields","email":"yields@icloud.com"},{"name":"stephenmathieson","email":"me@stephenmathieson.com"},{"name":"retrofox","email":"rdsuarez@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"timoxley","email":"secoif@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"calvinfo","email":"calvin@calv.info"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce_1.2.1_1615314745500_0.8416718637080391"},"_hasShrinkwrap":false,"publish_time":1615314745739,"_cnpm_publish_time":1615314745739},"1.2.0":{"name":"debounce","description":"Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked","version":"1.2.0","repository":{"type":"git","url":"git://github.com/component/debounce.git"},"main":"index.js","scripts":{"test":"minijasminenode test.js"},"license":"MIT","keywords":["function","throttle","invoke"],"devDependencies":{"minijasminenode":"^1.1.1","sinon":"^1.17.7","mocha":"*","should":"*"},"component":{"scripts":{"debounce/index.js":"index.js"}},"gitHead":"f4afbd34e3e15be33d2f261b3ec67ecddaf4a4f6","bugs":{"url":"https://github.com/component/debounce/issues"},"homepage":"https://github.com/component/debounce#readme","_id":"debounce@1.2.0","_npmVersion":"6.1.0","_nodeVersion":"10.4.0","_npmUser":{"name":"stephenmathieson","email":"me@stephenmathieson.com"},"dist":{"integrity":"sha512-mYtLl1xfZLi1m4RtQYlZgJUNQjl4ZxVnHzIR8nLLgi4q1YT8o/WM+MK/f8yfcc9s5Ir5zRaPZyZU6xs1Syoocg==","shasum":"44a540abc0ea9943018dc0eaa95cce87f65cd131","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-1.2.0.tgz","fileCount":8,"unpackedSize":10590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcuCCCRA9TVsSAnZWagAAPe0P/0NKTvG/nhUGwGsuLROC\n8WGo8C2w/fpyjuSb52BnuHRZ1QDKGyhOVnewwZvn/Dm6og0pt9DJ90vqCbJ+\nGYJc8R1frlVzD6yeor20knvvkJawKdaBcHjarrq61XESa/72tQXmihhiGOVF\nnCmhSGLscdbfkeiVvot/bf7wU4263mJJsE3entvy2UjsihBxjiiZZ1qTvymA\nxaTDrkRDBeI1GkM8VOGoKXmImqxanIzWByKjPOHZp2Qjb5UfXiuPBXm0MI5k\nXEmz5dCz8W/QI4LLo6AZEJFndW6mBCzcTjomcYExf/jUpMa6+Viu3wtr6SSI\n7Ii/MNILskojCSevyiVDsvHCrZrO3R6xgXcE0RQh4PLTtONTXKZwSdHmBJd/\nlDWCEVuDW97NiLihgyvhL680Bq3nr/1bMcOyX1w7G3IXPzP/2/ycKJRaNziD\nGyHqkTydIwRzVQi4rTrWv9WAXIHlyseISv4MzWpTr37/5vLA5q+U06D8/iV4\nhMd5fwgF/Es1rgVBz4x8ghr46qZUIPw35oQCZ1Szd3BakIA6N09CLBQyUuR3\nwBgJqVru8cgR6Yh9f1agUMzUVwyHD62wq+2ftkuaCXsEW/24/kxwKLEj/aDU\n0PfDwtVpCcVHndFIrB8L+e9HcmEvXP5Xq/W4qbbH1XeD30iLU/BEJe1GvRMO\ngg/Z\r\n=3RAM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8OMl+dejCd4kHcPhzdmXKYQ4Ib9xsXwh0j9CIbMgLmAiEAg7w+HXlBug+U3Sb4yXxynaxGs0kromqzHwi/SgrPdYE="}],"size":3337,"noattachment":false,"key":"/debounce/-/debounce-1.2.0.tgz"},"maintainers":[{"email":"amjad.masad@gmail.com","name":"amasad"},{"email":"antshort@gmail.com","name":"anthonyshort"},{"email":"calvin@calv.info","name":"calvinfo"},{"email":"clint@anotherway.co.za","name":"clintwood"},{"email":"thecoreh@gmail.com","name":"coreh"},{"email":"cristiandouce@gmail.com","name":"cristiandouce"},{"email":"shtylman@gmail.com","name":"defunctzombie"},{"email":"df.creative@gmail.com","name":"dfcreative"},{"email":"dominic@dbarnes.info","name":"dominicbarnes"},{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"ian@ianstormtaylor.com","name":"ianstormtaylor"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"},{"email":"julian@juliangruber.com","name":"juliangruber"},{"email":"kelonyemitchel@gmail.com","name":"kelonye"},{"email":"mattmuelle@gmail.com","name":"mattmueller"},{"email":"rauchg@gmail.com","name":"rauchg"},{"email":"rdsuarez@gmail.com","name":"retrofox"},{"email":"gstagas@gmail.com","name":"stagas"},{"email":"me@stephenmathieson.com","name":"stephenmathieson"},{"email":"arpad.borsos@googlemail.com","name":"swatinem"},{"email":"dnfagnan@gmail.com","name":"thehydroimpulse"},{"email":"timaschew@gmail.com","name":"timaschew"},{"email":"secoif@gmail.com","name":"timoxley"},{"email":"tj@vision-media.ca","name":"tjholowaychuk"},{"email":"nathan@tootallnate.net","name":"tootallnate"},{"email":"trevorgerhardt@gmail.com","name":"trevorgerhardt"},{"email":"yields@icloud.com","name":"yields"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce_1.2.0_1534255234037_0.9098299467781039"},"_hasShrinkwrap":false,"publish_time":1534255234193,"_cnpm_publish_time":1534255234193},"1.1.0":{"name":"debounce","description":"Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked","version":"1.1.0","repository":{"type":"git","url":"git://github.com/component/debounce.git"},"main":"index.js","scripts":{"test":"minijasminenode test.js"},"license":"MIT","keywords":["function","throttle","invoke"],"devDependencies":{"minijasminenode":"^1.1.1","sinon":"^1.17.7","mocha":"*","should":"*"},"component":{"scripts":{"debounce/index.js":"index.js"}},"gitHead":"e2ce8d2b92e6666a7444b4c9ca40eda57c3404a1","bugs":{"url":"https://github.com/component/debounce/issues"},"homepage":"https://github.com/component/debounce#readme","_id":"debounce@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"stephenmathieson","email":"me@stephenmathieson.com"},"dist":{"integrity":"sha512-ZQVKfRVlwRfD150ndzEK8M90ABT+Y/JQKs4Y7U4MXdpuoUkkrr4DwKbVux3YjylA5bUMUj0Nc3pMxPJX6N2QQQ==","shasum":"6a1a4ee2a9dc4b7c24bb012558dbcdb05b37f408","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGanDfnXxycb/ixyI2CmIwRWvQHNbzd0ksn5m6nMRTiAiB86Bn6CWau2vCqBAuq4Eroq9zpW3mbBeWWzLukBvQ7AQ=="}],"size":3299,"noattachment":false,"key":"/debounce/-/debounce-1.1.0.tgz"},"maintainers":[{"email":"shtylman@gmail.com","name":"defunctzombie"},{"email":"df.creative@gmail.com","name":"dfcreative"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"},{"email":"nathan@tootallnate.net","name":"tootallnate"},{"email":"clint@anotherway.co.za","name":"clintwood"},{"email":"dnfagnan@gmail.com","name":"thehydroimpulse"},{"email":"tj@vision-media.ca","name":"tjholowaychuk"},{"email":"rauchg@gmail.com","name":"rauchg"},{"email":"rdsuarez@gmail.com","name":"retrofox"},{"email":"thecoreh@gmail.com","name":"coreh"},{"email":"forbes@lindesay.co.uk","name":"forbeslindesay"},{"email":"kelonyemitchel@gmail.com","name":"kelonye"},{"email":"yields@icloud.com","name":"yields"},{"email":"antshort@gmail.com","name":"anthonyshort"},{"email":"ian@ianstormtaylor.com","name":"ianstormtaylor"},{"email":"cristiandouce@gmail.com","name":"cristiandouce"},{"email":"arpad.borsos@googlemail.com","name":"swatinem"},{"email":"mattmuelle@gmail.com","name":"mattmueller"},{"email":"gstagas@gmail.com","name":"stagas"},{"email":"amjad.masad@gmail.com","name":"amasad"},{"email":"julian@juliangruber.com","name":"juliangruber"},{"email":"calvin@calv.info","name":"calvinfo"},{"email":"dominic@dbarnes.info","name":"dominicbarnes"},{"email":"secoif@gmail.com","name":"timoxley"},{"email":"me@stephenmathieson.com","name":"stephenmathieson"},{"email":"trevorgerhardt@gmail.com","name":"trevorgerhardt"},{"email":"timaschew@gmail.com","name":"timaschew"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce-1.1.0.tgz_1509377433149_0.48635850357823074"},"directories":{},"publish_time":1509377434054,"_cnpm_publish_time":1509377434054},"1.0.2":{"name":"debounce","description":"Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked","version":"1.0.2","repository":{"type":"git","url":"git://github.com/component/debounce.git"},"main":"index.js","scripts":{"test":"minijasminenode test.js"},"license":"MIT","keywords":["function","throttle","invoke"],"devDependencies":{"minijasminenode":"^1.1.1","sinon":"^1.17.7","mocha":"*","should":"*"},"component":{"scripts":{"debounce/index.js":"index.js"}},"gitHead":"359b502dad1e4f56c50086371d3b8faa0d5862b2","bugs":{"url":"https://github.com/component/debounce/issues"},"homepage":"https://github.com/component/debounce#readme","_id":"debounce@1.0.2","_shasum":"503cc674d8d7f737099664fb75ddbd36b9626dc6","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"shasum":"503cc674d8d7f737099664fb75ddbd36b9626dc6","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-1.0.2.tgz","integrity":"sha512-AW9SsfJ9CYtgGys1gzmNV21U8OR6xkJX7XZPSWRhzkwwJbfCBiHMLRCJFCpty2ZC1LxXZqRBT8VX7hZY01v2/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmcA1HpGUbxoaJpQQrV8Xbe1U9zjXA3mn+dUbPen27bAiEAmU+Lyw8RLVfjtZWjv2WUiqv6j4ulqwMWpaaYyI68Z34="}],"size":2893,"noattachment":false,"key":"/debounce/-/debounce-1.0.2.tgz"},"maintainers":[{"name":"mattmueller","email":"mattmuelle@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"clintwood","email":"clint@anotherway.co.za"},{"name":"thehydroimpulse","email":"dnfagnan@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"retrofox","email":"rdsuarez@gmail.com"},{"name":"coreh","email":"thecoreh@gmail.com"},{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"kelonye","email":"kelonyemitchel@gmail.com"},{"name":"yields","email":"yields@icloud.com"},{"name":"anthonyshort","email":"antshort@gmail.com"},{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},{"name":"cristiandouce","email":"cristian@gravityonmars.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"},{"name":"timaschew","email":"timaschew@gmail.com"},{"name":"stephenmathieson","email":"me@stephenmathieson.com"},{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"},{"name":"stagas","email":"gstagas@gmail.com"},{"name":"amasad","email":"amjad.masad@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"calvinfo","email":"calvin@calv.info"},{"name":"dominicbarnes","email":"dominic@dbarnes.info"},{"name":"timoxley","email":"secoif@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/debounce-1.0.2.tgz_1492793694896_0.8119447159115225"},"directories":{},"publish_time":1492793696614,"_cnpm_publish_time":1492793696614},"1.0.0":{"name":"debounce","description":"Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked","version":"1.0.0","repository":{"type":"git","url":"git://github.com/component/debounce"},"main":"index.js","license":"MIT","keywords":["function","throttle","invoke"],"dependencies":{"date-now":"1.0.1"},"devDependencies":{"mocha":"*","should":"*"},"component":{"scripts":{"debounce/index.js":"index.js"}},"gitHead":"0b58e834ede3bead70c09af22375e1d62671d7b9","bugs":{"url":"https://github.com/component/debounce/issues"},"homepage":"https://github.com/component/debounce","_id":"debounce@1.0.0","scripts":{},"_shasum":"0948af513d2e4ce407916f8506a423d3f9cf72d8","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"mattmueller","email":"mattmuelle@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"clintwood","email":"clint@anotherway.co.za"},{"name":"thehydroimpulse","email":"dnfagnan@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"retrofox","email":"rdsuarez@gmail.com"},{"name":"coreh","email":"thecoreh@gmail.com"},{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"kelonye","email":"kelonyemitchel@gmail.com"},{"name":"yields","email":"yields@icloud.com"},{"name":"anthonyshort","email":"antshort@gmail.com"},{"name":"ianstormtaylor","email":"ian@ianstormtaylor.com"},{"name":"cristiandouce","email":"cristian@gravityonmars.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"},{"name":"stagas","email":"gstagas@gmail.com"},{"name":"amasad","email":"amjad.masad@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"calvinfo","email":"calvin@calv.info"},{"name":"dominicbarnes","email":"dominic@dbarnes.info"},{"name":"timoxley","email":"secoif@gmail.com"},{"name":"stephenmathieson","email":"me@stephenmathieson.com"},{"name":"trevorgerhardt","email":"trevorgerhardt@gmail.com"}],"dist":{"shasum":"0948af513d2e4ce407916f8506a423d3f9cf72d8","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-1.0.0.tgz","integrity":"sha512-4FCfBL8uZFIh3BShn4AlxH4O9F5v+CVriJfiwW8Me/MhO7NqBE5JO5WO48NasbsY9Lww/KYflB79MejA3eKhxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnKiBAIfgRTXWr5ifInEAmwF5OA3LKOTjnrRwnYSincwIgCDMN9cjeI5JIXKHkSL0bWXQzZrfbNb4AOcvXYqeaF68="}],"size":2157,"noattachment":false,"key":"/debounce/-/debounce-1.0.0.tgz"},"directories":{},"publish_time":1403375891876,"_cnpm_publish_time":1403375891876},"0.0.3":{"name":"debounce","description":"fn debounce","version":"0.0.3","main":"index.js","dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"component":{"scripts":{"debounce/index.js":"index.js"}},"_id":"debounce@0.0.3","dist":{"shasum":"4241a7fbfce811a94a178069e5e250bf8b75c886","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-0.0.3.tgz","integrity":"sha512-A1cZeaK6nsjsXeYLXitB22aRR6iXY9ay+wchxHD1Sl+B8hbfpYgdABgM10CENl5U9y+Ykxz3uSSYgcFZ/lftvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxe0FRAeWvbhc5tV5sn3+teKFtfo79xbRRO3cNQKk+EwIgYIZHmld1WCZq0V0vvuqJouvSkmHzRSvyC4V/ybHpSpo="}],"size":1672,"noattachment":false,"key":"/debounce/-/debounce-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"mattmueller","email":"mattmuelle@gmail.com"},"maintainers":[{"name":"mattmueller","email":"mattmuelle@gmail.com"}],"directories":{},"publish_time":1377109831260,"_cnpm_publish_time":1377109831260},"0.0.2":{"name":"debounce","description":"fn debounce","version":"0.0.2","main":"index.js","dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"component":{"scripts":{"debounce/index.js":"index.js"}},"_id":"debounce@0.0.2","dist":{"shasum":"701aea92febb6696511faaef79f740ed8ba6260b","tarball":"http://registry-npm.ywwl.com/debounce/download/debounce-0.0.2.tgz","integrity":"sha512-4TIVJsKoJN4I821HGrw6jVrGeuF9My4jiiyU0kBAwcwsD3Ag0hyUVVWUvHs0L9/ezMwa0zjaiaIpZ0ym34JxSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYDAelDeD4xHlBS6EG1dRVjc6qfI8V/0QxuT6rRsp0nAiEA3zLrELd+V9lOMR8FG1m0SSDDh9Z67aIadXh3g8YdTp0="}],"size":1651,"noattachment":false,"key":"/debounce/-/debounce-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"mattmueller","email":"mattmuelle@gmail.com"},"maintainers":[{"name":"mattmueller","email":"mattmuelle@gmail.com"}],"directories":{},"publish_time":1377108531880,"_cnpm_publish_time":1377108531880}},"readme":"# debounce\n\n> Delay function calls until a set time elapses after the last invocation\n\n## Install\n\n```sh\nnpm install debounce\n```\n\n## Usage\n\n```js\nimport debounce from 'debounce';\n\nfunction resize() {\n\tconsole.log('height', window.innerHeight);\n\tconsole.log('width', window.innerWidth);\n}\n\nconst onResize = debounce(resize, 200);\nwindow.addEventListener('resize', onResize);\n```\n\nTo check if the debounce delay is currently active:\n\n```js\nonResize.isPending;\n```\n\nTo later clear the timer and cancel currently scheduled executions:\n\n```js\nonResize.clear();\n```\n\nExecute a pending call immediately (and clear the timer). Does nothing when there is no call waiting to run, which leaves any timer as it was:\n\n```js\nonResize.flush();\n```\n\nTo execute immediately and clear the timer if it was previously set:\n\n```js\nonResize.trigger();\n```\n\n## API\n\n### debounce(fn, wait?, options?)\n\nCreates a debounced function that delays execution until `wait` milliseconds have passed since its last invocation.\n\nThe `wait` is in milliseconds and defaults to `100`.\n\nSet the `immediate` option to `true` to execute the function immediately at the start of the `wait` interval, preventing issues such as double-clicks on a button.\n\nThe returned function has the following methods:\n\n- `.isPending` indicates whether the debounce delay is currently active.\n- `.clear()` cancels any scheduled executions.\n- `.flush()` if a call is waiting to run then it is run immediately and the timer is cleared. Otherwise nothing happens and any timer is left as it was. In `immediate` mode, the calls made during the wait do not run on their own, but `.flush()` runs the last of them.\n- `.trigger()` executes the function immediately and clears the timer if it was previously set. With no call waiting to run it still calls the function, with no arguments and no receiver.\n\n### Errors\n\n`debounce()` throws a `TypeError` if the first parameter is not a function, or if `options` is a boolean. It throws a `RangeError` if `wait` is negative, `NaN`, larger than the largest delay a timer can wait for, or a value that does not compare as a number such as a non-numeric string.\n\n### Using it in a class\n\nOne debounced function shares one timer between all its callers. If you put it on a prototype, all instances share it, so calls from different instances within one wait collapse into one and the others are silently dropped. Give each instance its own debounced function instead:\n\n```js\nclass Widget {\n\tonResize = debounce(() => {\n\t\tconsole.log('width', this.width);\n\t}, 200);\n}\n```\n\n## Related\n\n- [debounce-fn](https://github.com/sindresorhus/debounce-fn) - Similar but with more options like `maxWait` and `before`/`after`\n- [p-debounce](https://github.com/sindresorhus/p-debounce) - Similar but handles promises\n- [throttleit](https://github.com/sindresorhus/throttleit) - Throttle a function to limit its execution rate\n","_attachments":{},"homepage":"https://github.com/sindresorhus/debounce#readme","bugs":{"url":"https://github.com/sindresorhus/debounce/issues"},"license":"MIT"}