{"_id":"@alcadica/debounce","_rev":"1-f48e5c8010d150d1cca1622f13de640b","name":"@alcadica/debounce","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alcadica/debounce","version":"1.0.0","description":"A function debouncer","homepage":"http://www.alcadica.com","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","test":"jest","prepublishOnly":"tsc -p ."},"author":{"name":"alcadica","email":"npm@alcadica.com"},"repository":{"type":"git","url":"git+https://github.com/alcadica/alcadica.git"},"devDependencies":{"@types/jest":"^23.3.3","jest":"^23.6.0","ts-jest":"^23.10.4","typescript":"^3.1.1"},"license":"MIT","keywords":["debounce","utility"],"bugs":{"url":"https://github.com/alcadica/alcadica/issues"},"_id":"@alcadica/debounce@1.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.5.0","_npmUser":{"name":"octod","email":"iamoctod@gmail.com"},"dist":{"integrity":"sha512-cEChhZIBV0Du7hP6XM2xsiDxA6xdpowt4b1iwrndZdC0x+Wj0JOl5xu4KTCzS6kV9dpOWGQyMaDZL/BbbZrEeA==","shasum":"b1fc2a6bb7cef40b9ca57c6453a9615019052332","tarball":"https://registry.npmjs.org/@alcadica/debounce/-/debounce-1.0.0.tgz","fileCount":6,"unpackedSize":4288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNz8oCRA9TVsSAnZWagAADtMP+QH79TFvdZCWF2od12cT\nnZL+mXaAmgptMpo7BTdqQxa7gmMDc4YJ0zLkVGFBJGt5oa6/zZnW0U2WdhYy\ndzpMrqPePpKoX0cfEG4I2Al8LYO30Wri/8MTd2vf9Z2s4Z/EPXDhwWbqjYiV\nNlMeu7f9/7HSQZsOkp3eyMFyv0IAPczj5Wmjmu7sNOHY64GujykTdkK2d2ga\nY5tdZnlx+Xk2s0qChVV9P4ocLAa+1pleycrm8BVCJjWuKNXSuG5zjUUgkwBB\nw5Ir8IQjhEDNTh1Ecj4V3LMm/Wag2vyLscR+CUm6Bsr/rmifGBSJGX/2owEx\noZTpYY+M28spFixW+r7wGKi4Mp0JYM+88z67KI9VDJu8TuoyH7/W4nTp+cIu\nG7s8Y1vV2Q06JTV3kIyweS+fVRfRDulUIEXmyLHX3MNyuSAH6hHH3kshee+H\nD65BzZ9QIgXJfI+B2beybdVWkxwzFUEcF+G3tO0jBv4KThnS74P58Z2c/UZg\n4rT3kqCCnFFK/JfafF+uIyVSthfgOqMt1Ui0U5JnET89X5OlCsdvbbs7lQ2G\nBT9udLtjGZL3mN24H7BoYU8kpeB8as8vHUUDw/7e7tJGq3I6WX0ZcQFjaKnl\nnhSTzwCek0YqxoEFyzgQyGB/5/49K2GU5rDc7xywiOEQq9Ivzv2ThEP9QOM2\nfH1g\r\n=vOkk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgXMjL+z1Bu81CIg7+JYJHeyXqIreTn/9uRoxaGJdimAiBo2Bmp5V6bebjWSC5wKoi2VGEklXd6knUy1R5vTe3mDg=="}]},"maintainers":[{"name":"npm-alcadica","email":"npm@alcadica.com"},{"name":"octod","email":"iamoctod@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debounce_1.0.0_1547124520113_0.3580146542293261"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-10T12:48:40.041Z","1.0.0":"2019-01-10T12:48:40.216Z","modified":"2022-04-04T12:35:35.964Z"},"maintainers":[{"name":"npm-alcadica","email":"npm@alcadica.com"},{"name":"octod","email":"iamoctod@gmail.com"}],"description":"A function debouncer","homepage":"http://www.alcadica.com","keywords":["debounce","utility"],"repository":{"type":"git","url":"git+https://github.com/alcadica/alcadica.git"},"author":{"name":"alcadica","email":"npm@alcadica.com"},"bugs":{"url":"https://github.com/alcadica/alcadica/issues"},"license":"MIT","readme":"# @alcadica/service.debounce\n\n<a href=\"https://travis-ci.org/alcadica/alcadica\">\n  <img src=\"https://img.shields.io/travis-ci/alcadica/alcadica.svg?colorB=555555&style=for-the-badge\" />\n</a>\n<a href=\"https://github.com/alcadica/alcadica/issues\">\n  <img src=\"https://img.shields.io/github/issues/alcadica/alcadica.svg?colorB=555555&style=for-the-badge\" />\n</a>\n<a href=\"https://codecov.io/gh/alcadica/alcadica\">\n  <img src=\"https://img.shields.io/codecov/c/github/alcadica/alcadica.svg?colorB=555555&style=for-the-badge\" alt=\"Coverage\" />\n<a href=\"https://beerpay.io/alcadica/alcadica\">\n  <img src=\"https://img.shields.io/beerpay/alcadica/alcadica.svg?colorB=555555&style=for-the-badge\" />\n</a>\n<a href=\"https://codeclimate.com/github/alcadica/alcadica\">\n  <img src=\"https://img.shields.io/codeclimate/maintainability/alcadica/alcadica.svg?colorB=555555&style=for-the-badge\" alt=\"Maintainability\">\n</a>\n\n- [@alcadica/service.debounce](#alcadicaservicedebounce)\n  - [Install](#install)\n  - [Examples](#examples)\n  - [Licence](#licence)\n\n## Install\n\n```bash\nnpm i --save @alcadica/service.debounce\n```\n\n## Examples\n\n```typescript\nimport debounce from '@alcadica/debounce';\n\nlet counter = 0;\n\nconst debounce = debounce(() => counter++, 400);\n\ndebounce();\ndebounce();\ndebounce();\n\nsetTimeout(() => {\n  console.log(counter); // will output 1\n}, 1000)\n```\n\n## Licence\n\n[MIT](LICENCE)\n\n","readmeFilename":"README.md"}