{"library":"ts-debounce","type":"library","category":null,"description":"This package provides a robust TypeScript implementation of the debounce function, designed to limit the rate at which a function can be called. It is currently at version 5.0.0 and sees releases driven by feature enhancements and necessary fixes, rather than a strict schedule. Key features include full TypeScript support with improved type inference, cancellation functionality, an optional `maxWait` parameter to force execution after a maximum delay, and comprehensive Promise integration, allowing debouncing of promise-returning functions and returning promises from debounced calls. It differentiates itself by being TypeScript-first, directly addressing common debounce use cases with strong typing, and offering flexibility similar to popular utility libraries like Lodash but with a smaller footprint and modern ESM support.","language":"javascript","status":"active","version":"5.0.0","tags":["javascript","TypeScript","ts","TS","std lib","function","debounce","wait","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ts-debounce","imports":["import { debounce } from 'ts-debounce';","const { debounce } = require('ts-debounce');","import type { DebouncedFunction } from 'ts-debounce';"]},{"cmd":"yarn add ts-debounce","imports":[]},{"cmd":"pnpm add ts-debounce","imports":[]}],"homepage":null,"github":"https://github.com/chodorowicz/ts-debounce","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ts-debounce","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ts-debounce/compatibility"}}