open-index/open-npm huggingface dataset:
npm package: @gyakusetsu/simple-debounce
Description: Simple delayed function call from repeated function calls (e.g. user search textbox).
Author: Reymar Clemente
Latest version: 1.0.1

# debounce

  Used for implementing behavior that should only happen after a repeated
  action from user with a delay.

## Installation

    $ npm i @gyakusetsu/simple-debounce

## Example

```js
var debounce = require('simple-debounce');

// Delays search query call/command for 250 ms after only user finished typing.
function debouncedSearch = debounce((query) => {
    getItemsByName(query);
}, 250)

function handleSearchBoxChange(query) {
    debouncedSearch();
}
```

## License

  MIT