1.1.0 • Published 1 year ago
debounce-master v1.1.0
debounce-master
debounce functionality npm package
Installation
Install the package via npm:
npm install debounce-master
```javascript
import { Debounce } from "debounce-master";
// Define your function
const myFunction = () => {
// Your function logic here
};
// Create a debounced version of your function with a specified delay
const myDebouncedFunction = Debounce(myFunction, delay);
// Call the debounced function when needed
myDebouncedFunction();