# throttle-callback

> Throttle a callback

Latest version **1.1.0** (published 2021-04-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install throttle-callback
pnpm add throttle-callback
yarn add throttle-callback
bun add throttle-callback
```

## 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.1.0 |
| Published | 2021-04-21 |
| First published | 2021-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vasily Zorin |
| Maintainers | kakserpom |

## Links

- npm: https://www.npmjs.com/package/throttle-callback
- Repository: https://github.com/kakserpom/throttle-callback
- Issues: https://github.com/kakserpom/throttle-callback/issues
- npm.io page: https://npm.io/package/throttle-callback

## Recent versions

- 1.1.0 (latest) — 2021-04-21
- 1.0.5 — 2021-04-13
- 1.0.4 — 2021-04-13
- 1.0.3 — 2021-04-13

## README

throttle-callback
=======
[![total downloads of throttle-callback](https://img.shields.io/npm/dt/throttle-callback.svg)](https://www.npmjs.com/package/throttle-callback)
[![throttle-callback's License](https://img.shields.io/npm/l/throttle-callback.svg)](https://www.npmjs.com/package/throttle-callback)
[![latest version of throttle-callback](https://img.shields.io/npm/v/throttle-callback.svg)](https://www.npmjs.com/package/throttle-callback)

*Throttle a callback*

```js
const throttleCallback = require('throttle-callback')
const callback = throttleCallback(
    arg => console.log(arg),
    10 // Milliseconds
)
callback('One')
callback('Two')
callback('Three')
    
// Three
```

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