{"_id":"ts-debounce","_rev":"2768996","name":"ts-debounce","description":"TypeScript implementation of debounce","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"time":{"modified":"2022-05-10T08:01:51.000Z","created":"2017-10-29T20:15:45.474Z","4.0.0":"2021-11-14T11:22:34.968Z","3.0.0":"2021-02-16T21:44:42.259Z","2.3.0":"2021-02-01T23:57:19.353Z","2.2.0":"2021-01-10T14:25:13.990Z","2.1.0":"2020-11-29T14:08:03.335Z","2.0.1":"2020-02-02T12:52:04.599Z","2.0.0":"2020-02-01T15:54:37.683Z","1.0.0":"2018-11-13T19:43:02.431Z","0.3.5":"2018-10-26T12:48:53.301Z","0.3.3":"2018-10-25T13:07:01.735Z","0.3.2":"2018-05-10T13:58:10.738Z","0.3.1":"2018-05-10T13:38:36.372Z","0.3.0":"2018-05-08T12:01:24.004Z","0.2.0":"2018-02-05T12:12:55.676Z","0.1.0":"2017-10-29T20:15:45.474Z"},"users":{},"author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"versions":{"4.0.0":{"name":"ts-debounce","version":"4.0.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","module":"dist/src/index.esm.js","types":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"^27.0.2","all-contributors-cli":"^6.20.0","jest":"^27.3.1","microbundle":"^0.12.4","np":"^7.5.0","prettier":"^2.4.1","ts-jest":"^27.0.7","tsd":"^0.18.0","typescript":"^4.4.4"},"scripts":{"build":"microbundle && cp ./src/index.test-d.ts ./dist/src/","dev":"microbundle watch","prepublishOnly":"npm run build","test":"npm run test:code && npm run test:types","test:code":"jest","test:types":"tsc --noEmit && tsd","prettier:check":"prettier --check .","release":"np --no-yarn"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"tsd":{"directory":"src"},"gitHead":"7e7bc2473d7eb4acab101ba5f198118cacd8774f","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@4.0.0","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"shasum":"33440ef64fab53793c3d546a8ca6ae539ec15841","size":6786,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-4.0.0.tgz"},"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_4.0.0_1636888954837_0.780462550661077"},"_hasShrinkwrap":false,"publish_time":1636888954968,"_cnpm_publish_time":1636888954968,"_cnpmcore_publish_time":"2021-12-16T12:13:46.634Z"},"3.0.0":{"name":"ts-debounce","version":"3.0.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","module":"dist/src/index.esm.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"^26.0.15","all-contributors-cli":"^6.19.0","jest":"^26.6.3","microbundle":"^0.12.4","np":"^7.0.0","ts-jest":"^26.4.4","typescript":"^4.1.2"},"scripts":{"build":"microbundle","dev":"microbundle watch","prepublishOnly":"npm run build","test":"npm run test:code && npm run test:types","test:code":"jest","test:types":"tsc --noEmit","release":"np --no-yarn"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"a97dad206b735249d16b1aef35f9e4e2782775f8","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@3.0.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.9","dist":{"shasum":"9beedf59c04de3b5bef8ff28bd6885624df357be","size":7027,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-3.0.0.tgz"},"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_3.0.0_1613511882146_0.5292905610396088"},"_hasShrinkwrap":false,"publish_time":1613511882259,"_cnpm_publish_time":1613511882259,"_cnpmcore_publish_time":"2021-12-16T12:13:47.023Z"},"2.3.0":{"name":"ts-debounce","version":"2.3.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","module":"dist/src/index.esm.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"^26.0.15","all-contributors-cli":"^6.19.0","jest":"^26.6.3","microbundle":"^0.12.4","np":"^7.0.0","ts-jest":"^26.4.4","typescript":"^4.1.2"},"scripts":{"build":"microbundle","dev":"microbundle watch","prepublishOnly":"npm run build","test":"npm run test:code && npm run test:types","test:code":"jest","test:types":"tsc --noEmit","release":"np --no-yarn"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"b99deeda5a43c4336d56264c76f3317a9abd3181","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@2.3.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.9","dist":{"shasum":"a360a8bd29402ce0ea9970f7cfc0df44dfae7139","size":5796,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-2.3.0.tgz"},"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_2.3.0_1612223839189_0.09287531824985717"},"_hasShrinkwrap":false,"publish_time":1612223839353,"_cnpm_publish_time":1612223839353,"_cnpmcore_publish_time":"2021-12-16T12:13:47.236Z"},"2.2.0":{"name":"ts-debounce","version":"2.2.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"^26.0.15","all-contributors-cli":"^6.19.0","jest":"^26.6.3","microbundle":"^0.12.4","np":"^7.0.0","ts-jest":"^26.4.4","typescript":"^4.1.2"},"scripts":{"build":"microbundle","dev":"microbundle watch","prepublishOnly":"npm run build","test":"npm run test:code && npm run test:types","test:code":"jest","test:types":"tsc --noEmit","release":"np --no-yarn"},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"d5d3eda102ebcc96d6ed31eb2db77202f89ff120","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@2.2.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.9","dist":{"shasum":"2c415c5281b3578138be591330c31def802d1049","size":6114,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-2.2.0.tgz"},"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_2.2.0_1610288713845_0.32156798954414234"},"_hasShrinkwrap":false,"publish_time":1610288713990,"_cnpm_publish_time":1610288713990,"_cnpmcore_publish_time":"2021-12-16T12:13:47.469Z"},"2.1.0":{"name":"ts-debounce","version":"2.1.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"^26.0.15","all-contributors-cli":"^6.19.0","jest":"^26.6.3","microbundle":"^0.12.4","np":"^7.0.0","ts-jest":"^26.4.4","typescript":"^4.1.2"},"scripts":{"build":"microbundle","dev":"microbundle watch","prepublishOnly":"npm run build","test":"npm run test:code && npm run test:types","test:code":"jest","test:types":"tsc --noEmit","release":"np --no-yarn"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"878d6a72a9a9fda33a81e8186e33abe14a132da9","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@2.1.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.9","dist":{"shasum":"9a164c794692217d371449fc6572524751d70f19","size":5258,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-2.1.0.tgz"},"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_2.1.0_1606658883213_0.20935778811034855"},"_hasShrinkwrap":false,"publish_time":1606658883335,"_cnpm_publish_time":1606658883335,"_cnpmcore_publish_time":"2021-12-16T12:13:47.663Z"},"2.0.1":{"name":"ts-debounce","version":"2.0.1","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.18","all-contributors-cli":"^6.13.0","jest":"^24.9.0","microbundle":"^0.11.0","np":"^5.2.1","ts-jest":"^24.0.2","typescript":"^3.6.3"},"scripts":{"build":"microbundle","dev":"microbundle watch","prepublishOnly":"npm run build","test":"jest && npm run test:types","test:types":"tsc --noEmit","release":"np --no-yarn"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"62f30f2c3379b7b5e778fb1793e1fbfa17354894","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@2.0.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.7","dist":{"shasum":"4d92a203c4183386802f8ef9eaebe0f2409e62da","size":4502,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-2.0.1.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_2.0.1_1580647924474_0.47102948728757066"},"_hasShrinkwrap":false,"publish_time":1580647924599,"_cnpm_publish_time":1580647924599,"_cnpmcore_publish_time":"2021-12-16T12:13:47.857Z"},"2.0.0":{"name":"ts-debounce","version":"2.0.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"^24.0.18","jest":"^24.9.0","microbundle":"^0.11.0","np":"^5.2.1","ts-jest":"^24.0.2","typescript":"^3.6.3"},"scripts":{"build":"microbundle","dev":"microbundle watch","prepublishOnly":"npm run build","test":"jest && npm run test:types","test:types":"tsc --noEmit","release":"np --no-yarn"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"c8623a0c0ed9156f952594ea029565bbfe74d0d8","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@2.0.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"shasum":"d8f683020ee7a623da0565fc2f2ac559ac71c981","size":8624,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-2.0.0.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_2.0.0_1580572477522_0.13628213867406758"},"_hasShrinkwrap":false,"publish_time":1580572477683,"_cnpm_publish_time":1580572477683,"_cnpmcore_publish_time":"2021-12-16T12:13:48.441Z"},"1.0.0":{"name":"ts-debounce","version":"1.0.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","jest":"^23.6.0","microbundle":"^0.7.0","np":"^3.0.4","ts-jest":"^23.10.4","typescript":"^3.1.6"},"scripts":{"build":"microbundle","dev":"microbundle watch","prepublishOnly":"npm run build","test":"jest && npm run test:types","test:types":"tsc --noEmit","release":"np --no-yarn"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"b3266633186c01b8310fc16374230ca8d120bd8f","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"dist":{"shasum":"e433301744ba75fe25466f7f23e1382c646aae6a","size":5355,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-1.0.0.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_1.0.0_1542138182316_0.6019441608012757"},"_hasShrinkwrap":false,"publish_time":1542138182431,"_cnpm_publish_time":1542138182431,"_cnpmcore_publish_time":"2021-12-16T12:13:48.624Z"},"0.3.5":{"name":"ts-debounce","version":"0.3.5","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"21.1.6","jest":"21.2.1","ts-jest":"21.2.1","typescript":"2.6.1"},"scripts":{"build":"rm -rf ./dist && yarn run tsc -p ./ --outDir dist/","prepublish":"yarn run build","test":"yarn run jest"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"b20d0a7829895102022f1b1e2e94e0a95be8d7bc","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@0.3.5","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"dist":{"shasum":"89f2a9a2ba7ba1389bddb998f0fc8e721617d294","size":3187,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-0.3.5.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_0.3.5_1540558133132_0.3221030811892285"},"_hasShrinkwrap":false,"publish_time":1540558133301,"_cnpm_publish_time":1540558133301,"_cnpmcore_publish_time":"2021-12-16T12:13:48.842Z"},"0.3.3":{"name":"ts-debounce","version":"0.3.3","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"https://github.com/chodorowicz/ts-debounce"},"license":"MIT","devDependencies":{"@types/jest":"21.1.6","jest":"21.2.1","ts-jest":"21.2.1","typescript":"2.6.1"},"scripts":{"build":"rm -rf ./dist && yarn run tsc -p ./ --outDir dist/","prepublish":"yarn run build","test":"yarn run jest"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"licenseText":"MIT License\n\nCopyright (c) 2017 Jakub Chodorowicz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-debounce@0.3.3","dist":{"shasum":"024afbd229c4223642bc6ef4dc461abb40de835e","size":3119,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-0.3.3.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_0.3.3_1540472821392_0.31870193909410505"},"_hasShrinkwrap":false,"publish_time":1540472821735,"_cnpm_publish_time":1540472821735,"_cnpmcore_publish_time":"2021-12-16T12:13:49.061Z"},"0.3.2":{"name":"ts-debounce","version":"0.3.2","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"21.1.6","jest":"21.2.1","ts-jest":"21.2.1","typescript":"2.6.1"},"scripts":{"build":"rm -rf ./dist && yarn run tsc -p ./ --outDir dist/","prepublish":"yarn run build","test":"yarn run jest"},"engines":{"node":">=8.*","yarn":"1.*"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"4f0e6a867e75013d6bef20bd4014b7f0ee107318","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@0.3.2","_npmVersion":"6.0.0","_nodeVersion":"9.9.0","_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"dist":{"shasum":"20f8e1659a6d52905d74f77a1145d8662547bfad","size":3211,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-0.3.2.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_0.3.2_1525960690686_0.9438374257433815"},"_hasShrinkwrap":false,"publish_time":1525960690738,"_cnpm_publish_time":1525960690738,"_cnpmcore_publish_time":"2021-12-16T12:13:49.254Z"},"0.3.1":{"name":"ts-debounce","version":"0.3.1","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"21.1.6","jest":"21.2.1","ts-jest":"21.2.1","typescript":"2.6.1"},"scripts":{"build":"rm -rf ./dist && yarn run tsc -p ./ --outDir dist/","prepublish":"yarn run build","test":"yarn run jest"},"engines":{"node":">=8.*","yarn":"1.*"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"4f0e6a867e75013d6bef20bd4014b7f0ee107318","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@0.3.1","_npmVersion":"6.0.0","_nodeVersion":"9.9.0","_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"dist":{"shasum":"46caddfd88b9736f66325e186fa0ef58a5a3cadb","size":3212,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-0.3.1.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_0.3.1_1525959516270_0.8243715718766798"},"_hasShrinkwrap":false,"publish_time":1525959516372,"_cnpm_publish_time":1525959516372,"_cnpmcore_publish_time":"2021-12-16T12:13:49.455Z"},"0.3.0":{"name":"ts-debounce","version":"0.3.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"https://github.com/chodorowicz/ts-debounce"},"license":"MIT","devDependencies":{"@types/jest":"21.1.6","jest":"21.2.1","ts-jest":"21.2.1","typescript":"2.6.1"},"scripts":{"build":"rm -rf ./dist && yarn run tsc -p ./ --outDir dist/","prepublish":"yarn run build","test":"yarn run jest"},"engines":{"node":">=8.*","yarn":"1.*"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"licenseText":"MIT License\n\nCopyright (c) 2017 Jakub Chodorowicz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"ts-debounce@0.3.0","dist":{"shasum":"049f9965f22d77a1ab3076da728ab8c169b91dd6","size":3142,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-0.3.0.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce_0.3.0_1525780883887_0.27267387457064274"},"_hasShrinkwrap":false,"publish_time":1525780884004,"_cnpm_publish_time":1525780884004,"_cnpmcore_publish_time":"2021-12-16T12:13:49.649Z"},"0.2.0":{"name":"ts-debounce","version":"0.2.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","url":"https://github.com/chodorowicz"},"keywords":["TypeScript","ts","TS","std lib","function","debounce","wait"],"repository":{"type":"git","url":"git+https://github.com/chodorowicz/ts-debounce.git"},"license":"MIT","devDependencies":{"@types/jest":"21.1.6","jest":"21.2.1","ts-jest":"21.2.1","typescript":"2.6.1"},"scripts":{"build":"rm -rf ./dist && yarn run tsc -p ./ --outDir dist/","prepublish":"yarn run build","test":"yarn run jest"},"engines":{"node":">8.*","yarn":"1.*"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(src/__tests__/.*|(\\.|/)(test|spec))\\.ts$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"96fa94cc7ce06e4305649ff04fc839af75d2b844","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","_id":"ts-debounce@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"chodorowicz","email":"chodorowicz@gmail.com"},"dist":{"shasum":"06e3b6f9a78370a5a6fbd303d69013a858cf4e52","size":2807,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-0.2.0.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce-0.2.0.tgz_1517832774790_0.9120627080556005"},"directories":{},"publish_time":1517832775676,"_hasShrinkwrap":false,"_cnpm_publish_time":1517832775676,"_cnpmcore_publish_time":"2021-12-16T12:13:49.861Z"},"0.1.0":{"name":"ts-debounce","version":"0.1.0","description":"TypeScript implementation of debounce","main":"dist/src/index.js","typings":"dist/src/index.d.ts","author":{"name":"Jakub Chodorowicz","email":"chodorowicz@gmail.com"},"license":"MIT","devDependencies":{"@types/jest":"21.1.5","jest":"21.2.1","ts-jest":"21.1.4","typescript":"2.5.3"},"scripts":{"build":"tsc -p ./ --outDir dist/","prepublish":"yarn run build","test":"yarn run jest"},"engines":{"node":"8.*","yarn":"1.*"},"jest":{"transform":{"^.+\\.tsx?$":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","moduleFileExtensions":["js","ts"],"timers":"fake"},"gitHead":"b394d8cdb30cc25e85b7bb032dc36da3be4a9340","_id":"ts-debounce@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"chodorowicz","email":"jakub.chodorowicz@gmail.com"},"dist":{"shasum":"2bc61544bd46c987588e7d27a1e025e5e7b66d47","size":1566,"noattachment":false,"key":"/ts-debounce/-/ts-debounce-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-debounce/download/ts-debounce-0.1.0.tgz"},"maintainers":[{"name":"chodorowicz","email":"chodorowicz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-debounce-0.1.0.tgz_1509308144549_0.3813195622060448"},"directories":{},"publish_time":1509308145474,"_hasShrinkwrap":false,"_cnpm_publish_time":1509308145474,"_cnpmcore_publish_time":"2021-12-16T12:13:50.071Z"}},"readme":"# TypeScript implementation of debounce function\n\n![Build Status](https://github.com/chodorowicz/ts-debounce//workflows/node-ci/badge.svg)\n[![npm](https://img.shields.io/npm/v/ts-debounce.svg)](https://www.npmjs.com/package/ts-debounce)\n[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/ts-debounce.svg)](https://www.npmjs.com/package/ts-debounce)\n[![npm type definitions](https://img.shields.io/npm/types/ts-debounce.svg)](https://www.npmjs.com/package/ts-debounce)\n\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-)\n\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\n_Debounce_ creates a new function `g`, which when called will delay the invocation of the original function `f` until `n` milliseconds, BUT drop previous pending delayed emissions if a new invocation is made before `n` milliseconds.\n\nIt's very useful for scenarios when it's better to limit the number of times the function is called. E.g. think of search input which fetches data from API. It's enough display search results after user has stopped entering characters for some time.\n\n## Install\n\nYou can install this package using `npm` using the command below\n\n```bash\nnpm install ts-debounce\n```\n\nIf you prefer `yarn`, install using the command below\n\n```bash\nyarn add ts-debounce\n```\n\n## Function arguments\n\n```ts\nimport { debounce } from \"ts-debounce\";\n\nconst debouncedFunction = debounce(originalFunction, waitMilliseconds, options);\n```\n\n- `originalFunction`\n  - the function which we want to debounce\n- `waitMilliseconds`\n  - how many seconds must pass after most recent function call, for the original function to be called\n- `options`\n  - `isImmediate` (boolean)\n    - if set to `true` then `originalFunction` will be called immediately, but on subsequent calls of the debounced function original function won't be called, unless `waitMilliseconds` passed after last call\n  - `maxWait` (number)\n    - if defined it will call the `originalFunction` after `maxWait` time has passed, even if the debounced function is called in the meantime\n      - e.g. if `wait` is set to `100` and `maxWait` to `200`, then if the debounced function is called every 50ms, then the original function will be called after 200ms anyway\n  - `callback` (function)\n    - it is called when `originalFunction` is debounced and receives as first parameter returned data from `originalFunction`\n\n## Cancellation\n\nThe returned debounced function can be cancelled by calling `cancel()` on it.\n\n```ts\nconst debouncedFunction = debounce(originalFunction, waitMilliseconds, options);\n\ndebouncedFunction.cancel();\n```\n\n## Promises\n\nSince v3 `ts-debounce` has Promise support. Everytime you call debounced function a promise is returned which will be resolved when the original function will be finally called. This promise will be rejected, if the debounced function will be cancelled.\n\nYou can also debounce a function `f` which returns a promise. The returned promise(s) will resolve (unless cancelled) with the return value of the original function.\n\n```ts\nconst asyncFunction = async () => \"value\";\nconst g = debounce(asyncFunction);\nconst returnValue = await g();\nreturnValue === \"value\"; // true\n```\n\n## Credits & inspiration\n\nThis implementation is based upon following sources:\n\n- [JavaScript Debounce Function](https://davidwalsh.name/javascript-debounce-function) by David Walsh\n- [Lodash implementation](https://lodash.com/)\n- [p-debounce](https://github.com/sindresorhus/p-debounce)\n\n## Compability\n\n- version 3 - Promise must be available in the global namespace\n- version 2 - TypeScript 3.3\n- version 1 - TypeScript 2.0\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://zacharysvoboda.com\"><img src=\"https://avatars3.githubusercontent.com/u/5839548?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Zac</b></sub></a><br /><a href=\"https://github.com/chodorowicz/ts-debounce/commits?author=zacnomore\" title=\"Code\">????</a></td>\n    <td align=\"center\"><a href=\"https://github.com/karol-majewski\"><img src=\"https://avatars1.githubusercontent.com/u/20233319?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Karol Majewski</b></sub></a><br /><a href=\"https://github.com/chodorowicz/ts-debounce/commits?author=karol-majewski\" title=\"Code\">????</a></td>\n    <td align=\"center\"><a href=\"https://github.com/Tuizi\"><img src=\"https://avatars2.githubusercontent.com/u/2027148?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Fabien Rogeret</b></sub></a><br /><a href=\"https://github.com/chodorowicz/ts-debounce/commits?author=Tuizi\" title=\"Code\">????</a></td>\n    <td align=\"center\"><a href=\"https://github.com/iheidari\"><img src=\"https://avatars3.githubusercontent.com/u/1315090?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Iman</b></sub></a><br /><a href=\"https://github.com/chodorowicz/ts-debounce/commits?author=iheidari\" title=\"Code\">????</a></td>\n    <td align=\"center\"><a href=\"https://github.com/juanmendes\"><img src=\"https://avatars.githubusercontent.com/u/549331?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>juanmendes</b></sub></a><br /><a href=\"#ideas-juanmendes\" title=\"Ideas, Planning, & Feedback\">????</a></td>\n    <td align=\"center\"><a href=\"https://github.com/sanduluca\"><img src=\"https://avatars.githubusercontent.com/u/56228534?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>sanduluca</b></sub></a><br /><a href=\"https://github.com/chodorowicz/ts-debounce/commits?author=sanduluca\" title=\"Code\">????</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-restore -->\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","_attachments":{},"homepage":"https://github.com/chodorowicz/ts-debounce#readme","bugs":{"url":"https://github.com/chodorowicz/ts-debounce/issues"},"license":"MIT"}