# @types/throttle

> TypeScript definitions for throttle

Latest version **1.0.5** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2025-10-24 |
| First published | 2017-08-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51494 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/throttle
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/throttle
- npm.io page: https://npm.io/package/@types/throttle

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 1.0.5 (latest) — 2025-10-24
- 1.0.4 (ts5.1) — 2023-11-07
- 1.0.2 (ts4.4) — 2023-09-12
- 1.0.1 (ts3.6) — 2021-07-02
- 1.0.0 (ts3.1) — 2017-08-14
- 1.0.3 — 2023-10-18

## README

# Installation
> `npm install --save @types/throttle`

# Summary
This package contains type definitions for throttle (https://github.com/TooTallNate/node-throttle).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/throttle.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/throttle/index.d.ts)
````ts
/// <reference types="node" />
import stream = require("stream");

export = Throttle;

declare class Throttle extends stream.Transform {
    constructor(options: number | Throttle.Options);
}

declare namespace Throttle {
    interface Options extends stream.TransformOptions {
        bps: number;
        chunkSize?: number | undefined;
    }
}

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

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