# jquery-debounce-throttle

> jQuery debounce and throttle functions

Latest version **1.0.6-rc.0** (published 2020-04-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install jquery-debounce-throttle
pnpm add jquery-debounce-throttle
yarn add jquery-debounce-throttle
bun add jquery-debounce-throttle
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6-rc.0 |
| Published | 2020-04-24 |
| First published | 2019-01-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27 |
| Author | Filatov Dmitry |
| Maintainers | a.batin |
| Keywords | debounce, jquery, throttle, jquery-debounce, jquery-throttle |

## Links

- npm: https://www.npmjs.com/package/jquery-debounce-throttle
- Repository: https://github.com/dfilatov/jquery-plugins
- Homepage: https://github.com/dfilatov/jquery-plugins#readme
- Issues: https://github.com/dfilatov/jquery-plugins/issues
- npm.io page: https://npm.io/package/jquery-debounce-throttle

## Dependencies (1)

- [jquery](https://npm.io/package/jquery.md) >=1.7

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 1.0.6-rc.0 (latest) — 2020-04-24
- 1.0.0 — 2019-01-23

## README

## Source

Can be found here: https://github.com/dfilatov/jquery-plugins/tree/master/src/jquery.debounce

Repository: https://github.com/dfilatov/jquery-plugins

## Debouncing

```js
debouncedFn = $.debounce(fn, timeout, [invokeAsap], [context]);
```

Options
-------

- `fn`

  Original function.

- `timeout`

  Delay.

- `invokeAsap`

  True/false, false by default. Parameter indicating which of the above debouncing options should be used (the first is used by default).

- `context`

  Context of the original function.

## Throttling

```js
throttledFn = $.throttle(fn, period, [context]);
```

Options
-------

- `fn`

  Original function.

- `period`

  Period.

- `context`

  Context of the original function.

### LICENSE

Dual licensed under the MIT and GPL licenses:
- https://opensource.org/licenses/mit-license.php
- https://www.gnu.org/licenses/gpl.html

---
_Source: https://npm.io/package/jquery-debounce-throttle · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
