# dynamic-timeouts

> Simple dynamic timeout module

Latest version **0.1.2** (published 2016-06-06) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install dynamic-timeouts
pnpm add dynamic-timeouts
yarn add dynamic-timeouts
bun add dynamic-timeouts
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2016-06-06 |
| First published | 2016-05-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dustin Hershman |
| Maintainers | killparadise |
| Keywords | debounce, dynamic, timeouts |

## Links

- npm: https://www.npmjs.com/package/dynamic-timeouts
- Repository: https://github.com/dhershman1/debounce
- Homepage: https://github.com/dhershman1/debounce#readme
- Issues: https://github.com/dhershman1/debounce/issues
- npm.io page: https://npm.io/package/dynamic-timeouts

## Recent versions

- 0.1.2 (latest) — 2016-06-06
- 0.1.1 — 2016-05-19
- 0.1.0 — 2016-05-19

## README

A simple separate utility for debounce which can also be found within the popular [Underscore](https://github.com/jashkenas/underscore) library.

## How To
Node
```js
var debounce = require('dynamic-timeouts');
debounce();
```

##Arguments
`func` - The function that you would like debounce to hold on
`wait` - The Time (in ms) debounce should wait before execution
`immediate` - should debounce fire the function the first time immediatly and then start waiting until activity stops then starts again

##Usage
```js
var debounce = require('dynamic-timeouts');
function testMe() {
    console.log('Test World');
};
$('#test').on('click', debounce(testMe, 300));
```

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