{"_id":"angular-debounce","_rev":"23-7736755d7bdd2735abc4980b1eca1bef","name":"angular-debounce","description":"Tiny debouncing function for Angular.JS.","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.1":{"name":"angular-debounce","version":"0.0.1","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"grunt":"~0.4.1","grunt-bump":"0.0.13","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.3.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.3.2","grunt-contrib-watch":"~0.5.1","grunt-ngmin":"0.0.3","grunt-karma":"~0.6.2","chai":"~1.9.0","karma-chai":"~0.1.0","mocha":"~1.17.1","karma-mocha":"~0.1.1"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce","_id":"angular-debounce@0.0.1","dist":{"shasum":"b06b23ab8bb6c6a2e554bf6783ccabd3ed98f703","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-0.0.1.tgz","integrity":"sha512-Fo8Piv71vTYrMnwYBg5nt/mU2Ks1M+C3WTrOJigMDewYTi4PWf0StDSWTTZ9RNDas7aZF3Vi/jLrc+dJSzbfmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEyhiMQkNokDD9rgyF+gM53p+nOvRmjEPVLEZX/s9Tj/AiEA+tkGx35CYmeXO9IZNgE8cK+Mr3X8FZZfrsBu1MHBEC8="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}]},"0.0.2":{"name":"angular-debounce","version":"0.0.2","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"grunt":"~0.4.1","grunt-bump":"0.0.13","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.3.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.3.2","grunt-contrib-watch":"~0.5.1","grunt-ngmin":"0.0.3","grunt-karma":"~0.6.2","chai":"~1.9.0","karma-chai":"~0.1.0","mocha":"~1.17.1","karma-mocha":"~0.1.1"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce","_id":"angular-debounce@0.0.2","dist":{"shasum":"7e771ec57080fa3614ce9407ddc704fd288b9dae","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-0.0.2.tgz","integrity":"sha512-kjsORxZv/dImX8fbU2uRxh6HsZ6wFuX2uXpwKXWcWBCbXA0sVJ94ZtrlhpuERmIqT/GHjM2ato1IRL/hiBv/bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDpw/0aFGiJDnMLSH5raQJbbXnojd+bHn6AOOmfcjzQAiEAzmUqaHFBs1ZdmffigqnBtkUUk3ZB9ItBGpwc2y4v5/s="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}]},"0.0.3":{"name":"angular-debounce","version":"0.0.3","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"grunt":"~0.4.1","grunt-bump":"0.0.13","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.3.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.3.2","grunt-contrib-watch":"~0.5.1","grunt-ngmin":"0.0.3","grunt-karma":"~0.6.2","chai":"~1.9.0","karma-chai":"~0.1.0","mocha":"~1.17.1","karma-mocha":"~0.1.1"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce","_id":"angular-debounce@0.0.3","dist":{"shasum":"d3c7c00eab2036eb2fca11949658553bb9dcc237","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-0.0.3.tgz","integrity":"sha512-AT7YtMK5Y/mRb6SCURK9tTuRLtcE4DZgKYMwBEg7HUckKFDt4++vdnBPzJlXmvlkyRS3rykdQ8l1Wm14NCimNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBHd5QIRwAL4uZh+9SJasK7di1rBDtoQs4+aLCp332+kAiEA1Q7Td5aiQ5NCw5o0YyYD4uBp6X64ETEG7fMUlpLBhVk="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}]},"1.0.0":{"name":"angular-debounce","version":"1.0.0","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"chai":"~1.9.0","grunt":"~0.4.4","grunt-bump":"0.0.13","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.3.0","grunt-contrib-jshint":"~0.9.2","grunt-contrib-uglify":"~0.4.0","grunt-contrib-watch":"~0.6.0","grunt-karma":"~0.8.0","grunt-ngmin":"0.0.3","karma-chai":"~0.1.0","karma-chrome-launcher":"~0.1.2","karma-firefox-launcher":"~0.1.3","karma-mocha":"~0.1.1","karma-phantomjs-launcher":"~0.1.2","mocha":"~1.17.1"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce","_id":"angular-debounce@1.0.0","dist":{"shasum":"6c8245bb76cfd0ac52ca1c3e0eb198ea875d4e52","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-1.0.0.tgz","integrity":"sha512-jjYJl3dUAa86m4CjNWu/7otanLmFIlHvWSiDTZtXh+rixSwH16R7zkp5HwDQnMExkZqSANfYFRNl8lS0f7Gd3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu+hYYvpZjAJJrExhFiRowj+/biZbjZXMPGchm9Op5SgIgQvJdzJT+EnRD9R1RUT3lsWpEJKExuKi+MGx1F1P28JI="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}]},"1.0.1":{"name":"angular-debounce","version":"1.0.1","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"chai":"~1.9.0","grunt":"~0.4.4","grunt-bump":"0.0.13","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.3.0","grunt-contrib-jshint":"~0.9.2","grunt-contrib-uglify":"~0.4.0","grunt-contrib-watch":"~0.6.0","grunt-karma":"~0.8.0","grunt-ngmin":"0.0.3","karma-chai":"~0.1.0","karma-chrome-launcher":"~0.1.2","karma-firefox-launcher":"~0.1.3","karma-mocha":"~0.1.1","karma-phantomjs-launcher":"~0.1.2","mocha":"~1.17.1"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce","_id":"angular-debounce@1.0.1","dist":{"shasum":"2b76655ae00fc346ef72d97a923db5de4da2c2bd","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-1.0.1.tgz","integrity":"sha512-+BsmefneC0zyYQw4T+gJpMegmtV+C9vCruZ3yd4zckeA1SbsRqISSz5t7oklsreEAe+H6euAb9MtFfb8U/QhnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqPyFGndLoKBpEgdK0kBDoOb7EPST3u3jN5EQPkLwQ2wIhALIq4WxE/B4/McIHiBPyvE3Sc1xWi9wQUfXJ+XGF74Nn"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}]},"1.0.2":{"name":"angular-debounce","version":"1.0.2","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"chai":"~1.9.0","grunt":"~0.4.4","grunt-bump":"0.0.13","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.3.0","grunt-contrib-jshint":"~0.9.2","grunt-contrib-uglify":"~0.4.0","grunt-contrib-watch":"~0.6.0","grunt-karma":"~0.8.0","grunt-ngmin":"0.0.3","karma-chai":"~0.1.0","karma-chrome-launcher":"~0.1.2","karma-firefox-launcher":"~0.1.3","karma-mocha":"~0.1.1","karma-phantomjs-launcher":"~0.1.2","mocha":"~1.17.1"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce","_id":"angular-debounce@1.0.2","dist":{"shasum":"9780dab064197571664d7ef2d1b2e9a693df0a0e","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-1.0.2.tgz","integrity":"sha512-mql/WS66/DQSYnKwc6ayiIoiTKROqJFpMi/dKWlUEGCf9T6NRGEQim9+J1edVSKMNa9PTUUOHGUzVUxaGFRjdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGv36aGli/594d/mirmWdZICon3wy9xacK+kFTvyfFKAIgPf3G519rpr/UIwi+huUg7x9krGCOo72iZERs9NXU7bw="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"rubenv","email":"ruben@rocketeer.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}]},"1.0.3":{"name":"angular-debounce","version":"1.0.3","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"chai":"~1.9.0","grunt":"~0.4.4","grunt-bump":"0.0.13","grunt-contrib-clean":"~0.5.0","grunt-contrib-concat":"~0.3.0","grunt-contrib-jshint":"~0.9.2","grunt-contrib-uglify":"~0.4.0","grunt-contrib-watch":"~0.6.0","grunt-karma":"~0.8.0","grunt-ngmin":"0.0.3","karma-chai":"~0.1.0","karma-chrome-launcher":"~0.1.2","karma-firefox-launcher":"~0.1.3","karma-mocha":"~0.1.1","karma-phantomjs-launcher":"~0.1.2","mocha":"~1.17.1"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce","_id":"angular-debounce@1.0.3","dist":{"shasum":"c46c1912aeb15ee06ff0ca9d9a8f5bc773b51129","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-1.0.3.tgz","integrity":"sha512-6E6NoHbjw0yzc2GFgVPkFKIhMDLg9XyCr7wX28W8cgVtsZ4xJ7l/bShZjuWGmjMbbYPgR6lJOOcoK1Lsrrkz3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYJFVX0/R4SLQ28KERy5lc/4NF4JChh6/HiQEkOZh/ngIgaw0LUcy8TlhC/lmBXUU5afpzM1VqFH2OSTLv9T3EVI8="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}]},"1.1.0":{"name":"angular-debounce","version":"1.1.0","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"chai":"~1.9.0","grunt":"^1.0.0","grunt-bump":"~0.8.0","grunt-contrib-clean":"^1.0.0","grunt-contrib-concat":"^1.0.0","grunt-contrib-jshint":"^1.0.0","grunt-contrib-uglify":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-karma":"^1.0.0","grunt-ngmin":"0.0.3","karma":"^0.13.22","karma-chai":"~0.1.0","karma-chrome-launcher":"^1.0.0","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.0.0","karma-phantomjs-launcher":"^1.0.0","mocha":"~2.4.5","phantomjs-prebuilt":"^2.1.7"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"gitHead":"5213c7c6d6d663c7033967757d0df3a3238fad12","bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce#readme","_id":"angular-debounce@1.1.0","_shasum":"2002743ff2becff76a674da88ac7ebce286d9144","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"dist":{"shasum":"2002743ff2becff76a674da88ac7ebce286d9144","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-1.1.0.tgz","integrity":"sha512-bjNrpZPioGgni7+2XpUMM7xjNHOIOYbrrWl2LfrH6Eg2u/6LggW/eNSP/XHo3g2oLkIiCe7rpi3yUIfJoKiT/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqdnCn02AWaTl3fc5QX61M5zicogJzBfpsY7CSPZk3cAiBEjENXjcNkzlbzPhAuf+H4DN8noq3Fc0sNvHK6Xe0ZzQ=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/angular-debounce-1.1.0.tgz_1463478889376_0.6391316724475473"}},"1.1.1":{"name":"angular-debounce","version":"1.1.1","description":"Tiny debouncing function for Angular.JS.","main":"dist/angular-debounce.js","directories":{"test":"test"},"scripts":{"test":"grunt ci","prepublish":"grunt build"},"keywords":["angular","filter"],"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"license":"MIT","devDependencies":{"chai":"~1.9.0","grunt":"^1.0.0","grunt-bump":"~0.8.0","grunt-contrib-clean":"^1.0.0","grunt-contrib-concat":"^1.0.0","grunt-contrib-jshint":"^1.0.0","grunt-contrib-uglify":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-karma":"^1.0.0","grunt-ngmin":"0.0.3","karma":"^0.13.22","karma-chai":"~0.1.0","karma-chrome-launcher":"^1.0.0","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.0.0","karma-phantomjs-launcher":"^1.0.0","mocha":"~2.4.5","phantomjs-prebuilt":"^2.1.7"},"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"gitHead":"a502ac1c8375b169518cd7baeb417ce352d21d40","bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"homepage":"https://github.com/rubenv/angular-debounce#readme","_id":"angular-debounce@1.1.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","_npmUser":{"name":"rubenv","email":"ruben@rocketeer.be"},"dist":{"integrity":"sha512-yjr/PiOyPDc+Ai98dQr+DMl0dhpBPrwHZyaEmS2+EJIlrAUGk4EIgBkPeW8FqHGznekeEZKafyayR/VP9IKjJg==","shasum":"52b1b2d8c3586da868ee70310623934502fac45f","tarball":"https://registry.npmjs.org/angular-debounce/-/angular-debounce-1.1.1.tgz","fileCount":9,"unpackedSize":11150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJePQwmCRA9TVsSAnZWagAAny4P/jIdpqudvwqhfvtdMwlO\n1GAp3Yyq093JdUYbdCZI+RgretG7h9ueB95znoJcQxiFyHh7LjILiepMkeSx\nstawDZLceWgzEgmtkCBeiXkz9UNVxs38pIi+rm4QzqprEx+2F8RdcEHeFEO0\nAoVQIaQXWOr1lXWD4HcFO36xsfkMzFKCRQjGFU3WC5Z0z+jW+6tLAzwoi8Qj\n6X6NS3V+c5N+SqdbYbpeKc4YoaRz5IHYwto862VhRkzwYexxoba32iCTJbln\nuhxpVd/zn1DLytflDPPHZK6f/JltO+EM+zb2pkfEiW9rP0Zy+DGPe66Q843v\nlQpXCqDUPWQBFR0w3udOsdl1XxOOw6Tm1qujtsaCeFWO+P29mlstrD8ZwWxm\ngUZtKg8f2d1j0XanULNKQljGK+Z/Hvi3UTJqQ16wsOia/uTH+pmUqEGhz5nZ\nS7+ZT+/j22jpZFCjvm7svD7FZyTUce+tRCzwmpogTSb0eAfKFFDh/ppAI/1p\nAfvTR96NdUS665LTbgT8cC58g7a5/DqW3mQ9qDzI2e8spu9a9u1fu5GB/qqZ\neM8mwpeX3DGLjrlKxw54xsh3X0QuGszmHxrZolymg8Ees4GD0i8b83pfAdVS\nUGlxhksf3cqshvsGEFZPBBtuCzhvzxRrH6FHSCzlR+FCbPv/+P4/PxUT8aP6\njPQH\r\n=gC3o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVCf++3moe4mie/IQ94lhvz8IcXYA3rx87iLtklmYJpwIgfEXDIVoN8oFmUG1PxnTOY6mE5Ip37o2CxoNTg54REDI="}]},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-debounce_1.1.1_1581059109519_0.41187175541177035"},"_hasShrinkwrap":false}},"readme":"# angular-debounce\n\n> Tiny debouncing function for Angular.JS\n\n[![Build Status](https://travis-ci.org/rubenv/angular-debounce.png?branch=master)](https://travis-ci.org/rubenv/angular-debounce)\n\nDebouncing is a form of rate-limiting: it prevents rapid-firing of events. You\ncan use this to throttle calls to an autocomplete API: call a function multiple\ntimes and it won't get called more than once during the time interval you\nspecify.\n\n## Usage\nAdd angular-debounce to your project:\n\n```\nbower install --save angular-debounce\n```\n\nAdd it to your HTML file:\n\n```html\n<script src=\"bower_components/angular-debounce/dist/angular-debounce.min.js\"></script>\n```\n\nReference it as a dependency for your app module:\n\n```js\nangular.module('myApp', ['rt.debounce']);\n```\n\nUse it:\n\n```js\nangular.module('myApp').controller('testCtrl', function (debounce) {\n    // Inject through \"debounce\".\n    \n    // Creates a function that will only get called once every 2 seconds:\n    var fn = debounce(2000, function () {\n        // Do things here.\n    });\n    \n    // Call it a couple of times, will only invoke the wrapped function\n    // 2 seconds after the last invocation:\n    fn();\n    fn();\n    fn();\n    \n    // Want to stop waiting and send out the call immediately? Flush it!\n    fn.flush();\n\n    // Want to stop waiting and send out the call immediately if any was made?\n    // Flush pending calls!\n    fn.flushPending();\n\n    // No longer care about it? Cancel is supported.\n    fn.cancel();\n});\n```\n\nRepeatedly calling `fn()` will postpone indefinitely. Pass a third `true` parameter to also fire intermediate calls:\n\n```js\nvar fn = debounce(2000, function () {\n    // Do things here.\n}, true);\n```\n\n## License \n\n    (The MIT License)\n\n    Copyright (C) 2014 by Ruben Vermeersch <ruben@rocketeer.be>\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n","maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"time":{"modified":"2022-06-13T02:52:15.046Z","created":"2014-03-06T10:09:57.661Z","0.0.1":"2014-03-06T10:09:58.999Z","0.0.2":"2014-03-06T10:20:52.450Z","0.0.3":"2014-03-13T17:18:48.836Z","1.0.0":"2014-07-25T09:26:24.973Z","1.0.1":"2015-01-20T08:27:50.578Z","1.0.2":"2015-03-27T16:55:36.220Z","1.0.3":"2015-04-27T13:01:57.181Z","1.1.0":"2016-05-17T09:54:51.899Z","1.1.1":"2020-02-07T07:05:10.034Z"},"readmeFilename":"README.md","homepage":"https://github.com/rubenv/angular-debounce#readme","keywords":["angular","filter"],"repository":{"type":"git","url":"git://github.com/rubenv/angular-debounce.git"},"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"bugs":{"url":"https://github.com/rubenv/angular-debounce/issues"},"license":"MIT"}