{"_id":"@arvind-yadav/use-debounce","_rev":"2-d5f63b5634520210c6f1eb6b5003ab81","name":"@arvind-yadav/use-debounce","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@arvind-yadav/use-debounce","version":"1.0.0","_id":"@arvind-yadav/use-debounce@1.0.0","maintainers":[{"name":"arvind-yadav","email":"arvindhotbit@gmail.com"}],"dist":{"shasum":"bdee25691dfd2a331439f6fa15325f3e3923aa0b","tarball":"https://registry.npmjs.org/@arvind-yadav/use-debounce/-/use-debounce-1.0.0.tgz","fileCount":4,"integrity":"sha512-6hAgvpUU/gSeHlhQZNY0g2yEpl7TgNUghiuWPXZIihu5xZeQpVEXXutTv+K0JOrC+RqUlylLU3+nnUUu1wp/5A==","signatures":[{"sig":"MEUCIQCP3zVL95aqLkfgACjYy16Y58pKqbWkMRpmsOvxB9ZxsAIgbCStYZoOPPhQpQLTcBPCm7GGvRDnKeg5yigEuK+UqAA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2004},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"arvind-yadav","email":"arvindhotbit@gmail.com"},"_npmVersion":"10.9.2","description":"A lightweight React hook and vanilla JS utility to debounce values and function calls.","directories":{},"_nodeVersion":"22.15.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-debounce_1.0.0_1782972609685_0.9284045561581122","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@arvind-yadav/use-debounce","version":"1.0.1","description":"A lightweight React hook and vanilla JS utility to debounce values and function calls.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc"},"devDependencies":{"typescript":"^5.0.0"},"dependencies":{},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"keywords":["react","react-hook","use-debounce","debounce","debounced-value","debounce-hook","performance","optimization","input-debounce","typescript","arvind-yadav"],"_id":"@arvind-yadav/use-debounce@1.0.1","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-XfT5+A5fWxXrUjS2edW7BwL12vCtSU12aHvcNJFjKkEmHnHDCk711rnVUH2ySqE8+awm/um0/O+grIrp+7wxCw==","shasum":"89d3614b6b9680a9097bbfc40516d73375fa3801","tarball":"https://registry.npmjs.org/@arvind-yadav/use-debounce/-/use-debounce-1.0.1.tgz","fileCount":4,"unpackedSize":2234,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEOyG8PP/flX4zbVpiX7mcDYL4rS0bOm5b4gUtp9HyARAiEAjgccaRfRum7+YG62V9mWU7hV/xO9X66B9XdeeNkv9R8="}]},"_npmUser":{"name":"arvind-yadav","email":"arvindhotbit@gmail.com"},"directories":{},"maintainers":[{"name":"arvind-yadav","email":"arvindhotbit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/use-debounce_1.0.1_1782973254470_0.796678772604783"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-02T06:10:09.478Z","modified":"2026-07-02T06:20:54.741Z","1.0.0":"2026-07-02T06:10:09.915Z","1.0.1":"2026-07-02T06:20:54.608Z"},"description":"A lightweight React hook and vanilla JS utility to debounce values and function calls.","maintainers":[{"name":"arvind-yadav","email":"arvindhotbit@gmail.com"}],"readme":"# @arvind-yadav/use-debounce\n\nA lightweight React hook and vanilla JS utility to debounce values and function calls.\n\n## Installation\n\n```bash\nnpm install @arvind-yadav/use-debounce\n```\n\n## Usage\n\n### React Hook\n```typescript\nimport { useDebounce } from '@arvind-yadav/use-debounce';\n\nconst debouncedSearchTerm = useDebounce(searchTerm, 500);\n```\n\n### Vanilla JS Function Debounce\n```typescript\nimport { debounce } from '@arvind-yadav/use-debounce';\n\nconst handleInput = debounce((val) => {\n  console.log(val);\n}, 300);\n```\n","readmeFilename":"README.md","keywords":["react","react-hook","use-debounce","debounce","debounced-value","debounce-hook","performance","optimization","input-debounce","typescript","arvind-yadav"]}