{"id":19950858,"url":"https://github.com/pruthvi2103/use-debounce","last_synced_at":"2026-03-06T08:32:46.651Z","repository":{"id":57683467,"uuid":"471262594","full_name":"pruthvi2103/use-debounce","owner":"pruthvi2103","description":"A simple  hook that implements debouncing in React Apps","archived":false,"fork":false,"pushed_at":"2022-03-18T10:49:05.000Z","size":79,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-08T21:16:42.709Z","etag":null,"topics":["debounce","hook","javascript","react","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pruthvi2103.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-18T06:43:34.000Z","updated_at":"2023-03-04T09:38:32.000Z","dependencies_parsed_at":"2022-09-05T16:50:51.828Z","dependency_job_id":null,"html_url":"https://github.com/pruthvi2103/use-debounce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pruthvi2103/use-debounce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pruthvi2103%2Fuse-debounce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pruthvi2103%2Fuse-debounce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pruthvi2103%2Fuse-debounce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pruthvi2103%2Fuse-debounce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pruthvi2103","download_url":"https://codeload.github.com/pruthvi2103/use-debounce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pruthvi2103%2Fuse-debounce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30167962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debounce","hook","javascript","react","typescript","vite"],"created_at":"2024-11-13T01:05:48.200Z","updated_at":"2026-03-06T08:32:46.618Z","avatar_url":"https://github.com/pruthvi2103.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# use-debounce\n\nA Small React hook that implements debouncing in react.\n\n### Install\n\n`npm i @pruthvi21/use-debounce`\n\nor\n\n`yarn add @pruthvi21/use-debounce`\n\n### Usage\n\n```\nconst someFunction= () =\u003e any\nconst delay = 1000 // delay in ms\n\nconst debouncedFunction= useDebounce(delay,someFunction)\n\ndebouncedFunction() // Calls it only once after the delay regardless of number of calls\n```\n\n### What's Debouncing?\n\nI'd suggest you go through this [blog](https://levelup.gitconnected.com/debounce-in-javascript-improve-your-applications-performance-5b01855e086)\n\nSimpler TL;DR image explaination:\n\n![Image_Explaination](https://miro.medium.com/max/1400/1*-r8hP_iDBPrj-odjIZajzw.gif)\n\nNote Package also published at github's registry\n\nSee packages section\n\n`npm install @pruthvi2103/use-debounce`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpruthvi2103%2Fuse-debounce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpruthvi2103%2Fuse-debounce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpruthvi2103%2Fuse-debounce/lists"}