# @banterstudiosuk/throttle

> Simple throttle function

Latest version **0.1.3** (published 2019-03-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @banterstudiosuk/throttle
pnpm add @banterstudiosuk/throttle
yarn add @banterstudiosuk/throttle
bun add @banterstudiosuk/throttle
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2019-03-03 |
| First published | 2019-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Nick de Rozarieux |
| Maintainers | nickd |

## Links

- npm: https://www.npmjs.com/package/@banterstudiosuk/throttle
- Repository: https://github.com/derozn/banterstudios/tree/master/packages/throttle
- npm.io page: https://npm.io/package/@banterstudiosuk/throttle

## Recent versions

- 0.1.3 (latest) — 2019-03-03
- 0.1.2 — 2019-01-06
- 0.1.1 — 2019-01-05
- 0.1.0 — 2019-01-03

## README

# `@banterstudiosuk/throttle`

> Throttle function

## Install

### npm

```bash
npm i --save @banterstudiosuk/throttle
```

## Usage

```js
import throttle from '@banterstudiosuk/throttle'

const handleScroll = () => console.log('scrolling')

const throttledFn = throttle(handleScroll, 100)

window.addEventListener('scroll', throttledFn, false)
```

## License

MIT

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