{"_id":"debounce-promise","_rev":"3901529","name":"debounce-promise","description":"Create a debounced version of a promise returning function","dist-tags":{"latest":"3.1.2"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"time":{"modified":"2025-09-01T01:08:57.000Z","created":"2015-10-18T14:21:30.511Z","3.1.2":"2019-05-05T17:48:19.417Z","3.1.1":"2019-05-05T17:41:29.617Z","3.1.0":"2018-02-09T08:10:02.323Z","3.0.2":"2017-11-08T10:25:21.035Z","3.0.1":"2017-01-28T15:21:07.709Z","3.0.0":"2017-01-28T14:45:04.904Z","2.1.1":"2016-10-31T18:33:54.747Z","2.1.0":"2016-10-16T14:13:54.811Z","2.0.1":"2016-08-24T08:21:32.355Z","2.0.0":"2016-08-17T20:01:10.932Z","1.1.1":"2016-08-17T07:25:00.958Z","1.1.0":"2016-04-01T08:21:56.719Z","1.0.5":"2015-12-21T10:29:07.735Z","1.0.4":"2015-10-19T12:58:39.642Z","1.0.3":"2015-10-19T12:56:13.649Z","1.0.2":"2015-10-18T15:27:35.273Z","1.0.1":"2015-10-18T14:59:39.840Z","1.0.0":"2015-10-18T14:21:30.511Z"},"users":{},"author":{"name":"Bjørge Næss"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"versions":{"3.1.2":{"name":"debounce-promise","version":"3.1.2","description":"Create a debounced version of a promise returning function","main":"dist/index","runkitExampleFilename":"./example.js","scripts":{"test":"tap --node-arg -r --node-arg babel-register --node-arg -r --node-arg babel-polyfill test && npm run lint","lint":"standard | snazzy","compile":"babel index.js --source-maps --out-dir dist","clean":"rimraf dist","prepare":"in-publish && npm run compile || not-in-publish","postpublish":"in-publish && npm run clean || not-in-publish"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","batch","accumulate","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel-cli":"^6.5.2","babel-plugin-transform-async-to-generator":"^6.16.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.16.0","babel-register":"^6.16.3","eslint":"^3.8.0","in-publish":"^2.0.0","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","tap":"^7.1.2"},"dependencies":{},"gitHead":"d85e8d1298e8789af13afa8267517b49a81d95d8","_id":"debounce-promise@3.1.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"320fb8c7d15a344455cd33cee5ab63530b6dc7c5","size":5744,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-3.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-3.1.2.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce-promise_3.1.2_1557078499298_0.2929519344714415"},"_hasShrinkwrap":false,"publish_time":1557078499417,"_cnpm_publish_time":1557078499417,"_cnpmcore_publish_time":"2021-12-16T18:00:30.110Z"},"3.1.1":{"name":"debounce-promise","version":"3.1.1","description":"Create a debounced version of a promise returning function","main":"dist/index","runkitExampleFilename":"./example.js","scripts":{"test":"tap --node-arg -r --node-arg babel-register --node-arg -r --node-arg babel-polyfill test && npm run lint","lint":"standard | snazzy","compile":"babel index.js --source-maps --out-dir dist","clean":"rimraf dist","prepublish":"in-publish && npm run compile || not-in-publish","postpublish":"in-publish && npm run clean || not-in-publish"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","batch","accumulate","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel-cli":"^6.5.2","babel-plugin-transform-async-to-generator":"^6.16.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.16.0","babel-register":"^6.16.3","eslint":"^3.8.0","in-publish":"^2.0.0","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","tap":"^7.1.2"},"dependencies":{},"licenseText":"Copyright Bjørge Næss\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"debounce-promise@3.1.1","dist":{"shasum":"5948be95e2eb36a3fc644021400adf930558f6b7","size":6031,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-3.1.1.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce-promise_3.1.1_1557078089437_0.4125279410450795"},"_hasShrinkwrap":false,"publish_time":1557078089617,"_cnpm_publish_time":1557078089617,"_cnpmcore_publish_time":"2021-12-16T18:00:30.325Z"},"3.1.0":{"name":"debounce-promise","version":"3.1.0","description":"Create a debounced version of a promise returning function","main":"dist/index","runkitExampleFilename":"./example.js","scripts":{"test":"tap --node-arg -r --node-arg babel-register --node-arg -r --node-arg babel-polyfill test && npm run lint","lint":"standard | snazzy","compile":"babel index.js --source-maps --out-dir dist","clean":"rimraf dist","prepublish":"in-publish && npm run compile || not-in-publish","postpublish":"in-publish && npm run clean || not-in-publish"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","batch","accumulate","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel-cli":"^6.5.2","babel-plugin-transform-async-to-generator":"^6.16.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.16.0","babel-register":"^6.16.3","eslint":"^3.8.0","in-publish":"^2.0.0","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","tap":"^7.1.2"},"dependencies":{},"_id":"debounce-promise@3.1.0","dist":{"shasum":"25035f4b45017bd51a7bef8b3bd9f6401dc47423","size":5366,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-3.1.0.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce-promise_3.1.0_1518163802216_0.595723179132247"},"_hasShrinkwrap":false,"publish_time":1518163802323,"_cnpm_publish_time":1518163802323,"_cnpmcore_publish_time":"2021-12-16T18:00:30.524Z"},"3.0.2":{"name":"debounce-promise","version":"3.0.2","description":"Create a debounced version of a promise returning function","main":"dist/index","runkitExampleFilename":"./example.js","scripts":{"test":"tap --node-arg -r --node-arg babel-register --node-arg -r --node-arg babel-polyfill test && npm run lint","lint":"standard | snazzy","compile":"babel index.js --source-maps --out-dir dist","clean":"rimraf dist","prepublish":"in-publish && npm run compile || not-in-publish","postpublish":"in-publish && npm run clean || not-in-publish"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","batch","accumulate","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel-cli":"^6.5.2","babel-plugin-transform-async-to-generator":"^6.16.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.16.0","babel-register":"^6.16.3","eslint":"^3.8.0","in-publish":"^2.0.0","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","tap":"^7.1.2"},"dependencies":{},"gitHead":"398f3f1bfa93acf94ec521cc32f01b06ac868b46","_id":"debounce-promise@3.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"57a9170e1db450ee16e940dfc28f025fe48ad574","size":5286,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-3.0.2.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce-promise-3.0.2.tgz_1510136719999_0.34802815527655184"},"directories":{},"publish_time":1510136721035,"_hasShrinkwrap":false,"_cnpm_publish_time":1510136721035,"_cnpmcore_publish_time":"2021-12-16T18:00:30.724Z"},"3.0.1":{"name":"debounce-promise","version":"3.0.1","description":"Create a debounced version of a promise returning function","main":"dist/index","runkitExampleFilename":"./example.js","scripts":{"test":"tap --node-arg -r --node-arg babel-register --node-arg -r --node-arg babel-polyfill test && npm run lint","lint":"standard | snazzy","compile":"babel index.js --source-maps --out-dir dist","clean":"rimraf dist","prepublish":"in-publish && npm run compile || not-in-publish","postpublish":"in-publish && npm run clean || not-in-publish"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","batch","accumulate","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel-cli":"^6.5.2","babel-plugin-transform-async-to-generator":"^6.16.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.16.0","babel-register":"^6.16.3","eslint":"^3.8.0","in-publish":"^2.0.0","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","tap":"^7.1.2"},"dependencies":{},"gitHead":"243eccc5306e2dbb3fa5b86d7eddceb45033ae5a","_id":"debounce-promise@3.0.1","_shasum":"051b18aad87d54998c1393ddbd109c92b9c2306a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"051b18aad87d54998c1393ddbd109c92b9c2306a","size":5282,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-3.0.1.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/debounce-promise-3.0.1.tgz_1485616865814_0.5804895169567317"},"directories":{},"publish_time":1485616867709,"_hasShrinkwrap":false,"_cnpm_publish_time":1485616867709,"_cnpmcore_publish_time":"2021-12-16T18:00:30.967Z"},"3.0.0":{"name":"debounce-promise","version":"3.0.0","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"tap --node-arg -r --node-arg babel-register --node-arg -r --node-arg babel-polyfill test && npm run lint","lint":"standard | snazzy","compile":"babel index.js --source-maps --out-dir dist","clean":"rimraf dist","prepublish":"in-publish && npm run compile || not-in-publish","postpublish":"in-publish && npm run clean || not-in-publish"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","batch","accumulate","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel-cli":"^6.5.2","babel-plugin-transform-async-to-generator":"^6.16.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.16.0","babel-register":"^6.16.3","eslint":"^3.8.0","in-publish":"^2.0.0","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","tap":"^7.1.2"},"dependencies":{},"gitHead":"5cf6dcda25f6780c6083faf780a7b1b515d9d570","_id":"debounce-promise@3.0.0","_shasum":"517632f6f7d46a48a6e945475a147e7c5c07623b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"517632f6f7d46a48a6e945475a147e7c5c07623b","size":5167,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-3.0.0.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/debounce-promise-3.0.0.tgz_1485614703130_0.37076533352956176"},"directories":{},"publish_time":1485614704904,"_hasShrinkwrap":false,"_cnpm_publish_time":1485614704904,"_cnpmcore_publish_time":"2021-12-16T18:00:31.172Z"},"2.1.1":{"name":"debounce-promise","version":"2.1.1","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"tap --node-arg -r --node-arg babel-register --node-arg -r --node-arg babel-polyfill test && npm run lint","lint":"standard | snazzy","compile":"babel index.js --source-maps --out-dir dist","clean":"rimraf dist","prepublish":"in-publish && npm run compile || not-in-publish","postpublish":"in-publish && npm run clean || not-in-publish"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","batch","accumulate","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel-cli":"^6.5.2","babel-plugin-transform-async-to-generator":"^6.16.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.16.0","babel-register":"^6.16.3","eslint":"^3.8.0","in-publish":"^2.0.0","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","tap":"^7.1.2"},"dependencies":{},"gitHead":"6da1e6eb4bc4b60425c5f4dad0e53ff4772c848c","_id":"debounce-promise@2.1.1","_shasum":"4c6a6a2ba6b4a75bac544d688dd1ad4fcce9f30b","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"4c6a6a2ba6b4a75bac544d688dd1ad4fcce9f30b","size":4847,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-2.1.1.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/debounce-promise-2.1.1.tgz_1477938834240_0.8783616537693888"},"directories":{},"publish_time":1477938834747,"_hasShrinkwrap":false,"_cnpm_publish_time":1477938834747,"_cnpmcore_publish_time":"2021-12-16T18:00:31.372Z"},"2.1.0":{"name":"debounce-promise","version":"2.1.0","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"tap --node-arg -r --node-arg babel-register --node-arg -r --node-arg babel-polyfill test && npm run lint","lint":"standard | snazzy","compile":"babel index.js --source-maps --out-dir dist","clean":"rimraf dist","prepublish":"in-publish && npm run compile || not-in-publish","postpublish":"in-publish && npm run clean || not-in-publish"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","batch","accumulate","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel-cli":"^6.5.2","babel-plugin-transform-async-to-generator":"^6.16.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.16.0","eslint":"^3.8.0","in-publish":"^2.0.0","rimraf":"^2.5.4","snazzy":"^5.0.0","standard":"^8.4.0","tap":"^7.1.2"},"dependencies":{},"gitHead":"a584a0d2ece05df78fa568d8a5666a4a8d346f5b","_id":"debounce-promise@2.1.0","_shasum":"ec1d34a6ab0383621e7e0713f0dba5badb895933","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.5.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"ec1d34a6ab0383621e7e0713f0dba5badb895933","size":4866,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-2.1.0.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/debounce-promise-2.1.0.tgz_1476627233205_0.5415048431605101"},"directories":{},"publish_time":1476627234811,"_hasShrinkwrap":false,"_cnpm_publish_time":1476627234811,"_cnpmcore_publish_time":"2021-12-16T18:00:31.589Z"},"2.0.1":{"name":"debounce-promise","version":"2.0.1","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js --source-maps --out-dir dist","postpublish":"rm -Rf dist"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1","tap":"^2.1.1"},"gitHead":"f95d3814cce936fff3fff9346e05f8d287585d8c","_id":"debounce-promise@2.0.1","_shasum":"e74a23b71cdedb18be0ccc26bae016a20d1f8389","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.2.1","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"e74a23b71cdedb18be0ccc26bae016a20d1f8389","size":3689,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-2.0.1.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/debounce-promise-2.0.1.tgz_1472026889732_0.20786625938490033"},"directories":{},"publish_time":1472026892355,"_hasShrinkwrap":false,"_cnpm_publish_time":1472026892355,"_cnpmcore_publish_time":"2021-12-16T18:00:31.818Z"},"2.0.0":{"name":"debounce-promise","version":"2.0.0","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js --source-maps --out-dir dist","postpublish":"rm -Rf dist"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1","tap":"^2.1.1"},"gitHead":"5c18072ad70b1722d21e3a45828c90dcf30b1d8e","_id":"debounce-promise@2.0.0","_shasum":"93f0ad2d687c01359e72da1c6aa0ec4615c2a9be","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.2.1","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"93f0ad2d687c01359e72da1c6aa0ec4615c2a9be","size":3614,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-2.0.0.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/debounce-promise-2.0.0.tgz_1471464069011_0.3522258345037699"},"directories":{},"publish_time":1471464070932,"_hasShrinkwrap":false,"_cnpm_publish_time":1471464070932,"_cnpmcore_publish_time":"2021-12-16T18:00:32.039Z"},"1.1.1":{"name":"debounce-promise","version":"1.1.1","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js --source-maps --out-dir dist","postpublish":"rm -Rf dist"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1","tap":"^2.1.1"},"gitHead":"82cb5aac96b9b66fb816f81e7b4cd9419b2e3056","_id":"debounce-promise@1.1.1","_shasum":"c971b116f2cd3cce8595007d411f749a86bb378e","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.2.1","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"c971b116f2cd3cce8595007d411f749a86bb378e","size":3501,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-1.1.1.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/debounce-promise-1.1.1.tgz_1471418698956_0.7092862725257874"},"directories":{},"publish_time":1471418700958,"_hasShrinkwrap":false,"_cnpm_publish_time":1471418700958,"_cnpmcore_publish_time":"2021-12-16T18:00:32.302Z"},"1.1.0":{"name":"debounce-promise","version":"1.1.0","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js --source-maps --out-dir dist","postpublish":"rm -Rf dist"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1","tap":"^2.1.1"},"gitHead":"049cffaddba7c99ea4d3d0bcf864bfaf92f315b5","_id":"debounce-promise@1.1.0","_shasum":"ffa1ac87d09b8dd7613f07a6bbb2cec66f8a5c0f","_from":".","_npmVersion":"3.8.1","_nodeVersion":"4.4.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"ffa1ac87d09b8dd7613f07a6bbb2cec66f8a5c0f","size":3496,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-1.1.0.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/debounce-promise-1.1.0.tgz_1459498914282_0.3927962095476687"},"directories":{},"publish_time":1459498916719,"_hasShrinkwrap":false,"_cnpm_publish_time":1459498916719,"_cnpmcore_publish_time":"2021-12-16T18:00:32.497Z"},"1.0.5":{"name":"debounce-promise","version":"1.0.5","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js --source-maps --out-dir dist","postpublish":"rm -Rf dist"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1","tap":"^2.1.1"},"gitHead":"f8a17d1143da4d23a827dd21898f2948514762d2","_id":"debounce-promise@1.0.5","_shasum":"6fc3711fb3c8992502f1f9258c644a5816354343","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.1.2","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"6fc3711fb3c8992502f1f9258c644a5816354343","size":3292,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-1.0.5.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"directories":{},"publish_time":1450693747735,"_hasShrinkwrap":false,"_cnpm_publish_time":1450693747735,"_cnpmcore_publish_time":"2021-12-16T18:00:32.706Z"},"1.0.4":{"name":"debounce-promise","version":"1.0.4","description":"[![NPM](https://nodei.co/npm/debounce-promise.png)](https://nodei.co/npm/debounce-promise/)","main":"dist/index","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js --source-maps --out-dir dist","postpublish":"rm -Rf dist"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","debounce","throttle","ratelimit"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1","tap":"^2.1.1"},"gitHead":"82d9f3c5e920fce686672073950c8eb64a5742c2","_id":"debounce-promise@1.0.4","_shasum":"cad29baceaeb02fa876fb9a7ee1a701aebf27279","_from":".","_npmVersion":"2.14.7","_nodeVersion":"0.10.40","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"cad29baceaeb02fa876fb9a7ee1a701aebf27279","size":5803,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-1.0.4.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"directories":{},"publish_time":1445259519642,"_hasShrinkwrap":false,"_cnpm_publish_time":1445259519642,"_cnpmcore_publish_time":"2021-12-16T18:00:32.914Z"},"1.0.3":{"name":"debounce-promise","version":"1.0.3","description":"[![NPM](https://nodei.co/npm/debounce-promise.png)](https://nodei.co/npm/debounce-promise/)","main":"dist/index","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js --source-maps --out-dir dist","postpublish":"rm -Rf dist"},"repository":{"type":"git","url":"git+https://github.com/bjoerge/debounce-promise.git"},"keywords":["promise","latest","flatMapLatest","order"],"author":{"name":"Bjørge Næss"},"license":"MIT","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"homepage":"https://github.com/bjoerge/debounce-promise","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1","tap":"^2.1.1"},"gitHead":"d1247c6849a8aa2ac6f84aef9b3d3bcea952bbaa","_id":"debounce-promise@1.0.3","_shasum":"5d1df9b338c05a02ab69df7a4afa245698e83084","_from":".","_npmVersion":"2.14.7","_nodeVersion":"0.10.40","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"5d1df9b338c05a02ab69df7a4afa245698e83084","size":5803,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-1.0.3.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"directories":{},"publish_time":1445259373649,"_hasShrinkwrap":false,"_cnpm_publish_time":1445259373649,"_cnpmcore_publish_time":"2021-12-16T18:00:33.121Z"},"1.0.2":{"name":"debounce-promise","version":"1.0.2","description":"Create a debounced version of a promise returning function","main":"dist/index","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js > dist/index.js","postpublish":"rm dist/index.js"},"author":{"name":"Bjørge Næss"},"license":"MIT","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1"},"gitHead":"724e64e3503eab16ef3b703ca1fe3713b1231041","_id":"debounce-promise@1.0.2","_shasum":"ac9795abad4fd3b439c179b0ad526153482c64a7","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.1.2","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"ac9795abad4fd3b439c179b0ad526153482c64a7","size":2378,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-1.0.2.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"directories":{},"publish_time":1445182055273,"_hasShrinkwrap":false,"_cnpm_publish_time":1445182055273,"_cnpmcore_publish_time":"2021-12-16T18:00:33.322Z"},"1.0.1":{"name":"debounce-promise","version":"1.0.1","description":"Create a debounced version of a promise returning function","main":"./dist/index.js","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js > dist/index.js","postpublish":"rm dist/index.js"},"author":{"name":"Bjørge Næss"},"license":"MIT","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1"},"gitHead":"e56fee005f044d6a76235942952086d8148fdbbb","_id":"debounce-promise@1.0.1","_shasum":"426885982833047df88ad9c24d28f527592c2f01","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.1.2","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"426885982833047df88ad9c24d28f527592c2f01","size":2380,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-1.0.1.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"directories":{},"publish_time":1445180379840,"_hasShrinkwrap":false,"_cnpm_publish_time":1445180379840,"_cnpmcore_publish_time":"2021-12-16T18:00:33.541Z"},"1.0.0":{"name":"debounce-promise","version":"1.0.0","description":"Create a debounced version of a promise returning function","main":"./dist/index.js","scripts":{"test":"babel-tap test && eslint .","lint":"eslint .","prepublish":"babel index.js > dist/index.js","postpublish":"rm dist/index.js"},"author":{"name":"Bjørge Næss"},"license":"MIT","devDependencies":{"babel":"^5.8.23","babel-eslint":"^4.1.3","babel-tap":"^3.0.1","eslint":"^1.7.1","eslint-config-bengler":"^0.3.5","eslint-plugin-import":"^0.8.1"},"gitHead":"eaaa85d531c86b9210f91b2a3e06fca4eb5840ba","_id":"debounce-promise@1.0.0","_shasum":"4a8dee4e0155f8a51e86c499c3e006ff42d8e23a","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.1.2","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"4a8dee4e0155f8a51e86c499c3e006ff42d8e23a","size":1918,"noattachment":false,"key":"/debounce-promise/-/debounce-promise-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/debounce-promise/download/debounce-promise-1.0.0.tgz"},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"directories":{},"publish_time":1445178090511,"_hasShrinkwrap":false,"_cnpm_publish_time":1445178090511,"_cnpmcore_publish_time":"2021-12-16T18:00:33.777Z"}},"readme":"# debounce-promise\n\n[![Build Status](https://travis-ci.org/bjoerge/debounce-promise.svg)](https://travis-ci.org/bjoerge/debounce-promise)\n[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n[![NPM](https://nodei.co/npm/debounce-promise.png)](https://nodei.co/npm/debounce-promise/)\n\nCreate a debounced version of a promise returning function\n\n## Install\n\n    npm i -S debounce-promise\n\n\n## Usage example\n\n```js\n\nvar debounce = require('debounce-promise')\n\nfunction expensiveOperation(value) {\n  return Promise.resolve(value)\n}\n\nvar saveCycles = debounce(expensiveOperation, 100);\n\n[1, 2, 3, 4].forEach(num => {\n  return saveCycles('call no #' + num).then(value => {\n    console.log(value)\n  })\n})\n\n// Will only call expensiveOperation once with argument `4` and print:\n//=> call no #4\n//=> call no #4\n//=> call no #4\n//=> call no #4\n```\n\n### With leading=true\n\n```js\nvar debounce = require('debounce-promise')\n\nfunction expensiveOperation(value) {\n  return Promise.resolve(value)\n}\n\nvar saveCycles = debounce(expensiveOperation, 100, {leading: true});\n\n[1, 2, 3, 4].forEach(num => {\n  return saveCycles('call no #' + num).then(value => {\n    console.log(value)\n  })\n})\n\n//=> call no #1\n//=> call no #4\n//=> call no #4\n//=> call no #4\n```\n\n### With accumulate=true\n\n```js\nvar debounce = require('debounce-promise')\n\nfunction squareValues (argTuples) {\n  return Promise.all(argTuples.map(args => args[0] * args[0]))\n}\n\nvar square = debounce(squareValues, 100, {accumulate: true});\n\n[1, 2, 3, 4].forEach(num => {\n  return square(num).then(value => {\n    console.log(value)\n  })\n})\n\n//=> 1\n//=> 4\n//=> 9\n//=> 16\n```\n\n## Api\n`debounce(func, [wait=0], [{leading: true|false, accumulate: true|false})`\n\nReturns a debounced version of `func` that delays invoking until after `wait` milliseconds.\n\nSet `leading: true` if you\nwant to call `func` and return its promise immediately.\n\nSet `accumulate: true` if you want the debounced function to be called with an array of all the arguments received while waiting.\n\nSupports passing a function as the `wait` parameter, which provides a way to lazily or dynamically define a wait timeout.\n\n\n## Example timeline illustration\n\n```js\nfunction refresh() {\n  return fetch('/my/api/something')\n}\nconst debounced = debounce(refresh, 100)\n```\n\n```\ntime (ms) ->   0 ---  10  ---  50  ---  100 ---\n-----------------------------------------------\ndebounced()    | --- P(1) --- P(1) --- P(1) ---\nrefresh()      | --------------------- P(1) ---\n```\n\n```js\nconst debounced = debounce(refresh, 100, {leading: true})\n```\n```\ntime (ms) ->   0 ---  10  ---  50  ---  100 ---  110 ---\n--------------------------------------------------------\ndebounced()    | --- P(1) --- P(2) --- P(2) --- P(2) ---\nrefresh()      | --- P(1) --------------------- P(2) ---\n```\n","_attachments":{},"homepage":"https://github.com/bjoerge/debounce-promise","bugs":{"url":"https://github.com/bjoerge/debounce-promise/issues"},"license":"MIT"}