# @types/stream-throttle

> TypeScript definitions for stream-throttle

Latest version **0.1.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2023-11-07 |
| First published | 2018-08-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.1.4 (latest) — 2023-11-07
- 0.1.1 (ts3.6) — 2021-07-02
- 0.1.0 (ts2.0) — 2018-08-31
- 0.1.3 — 2023-10-18
- 0.1.2 — 2023-09-25

## README

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

import { Transform } from "stream";

export interface ThrottleOptions {
    readonly rate: number;
    readonly chunksize?: number | undefined;
}

export class Throttle extends Transform {
    constructor(options: ThrottleOptions);
}

export class ThrottleGroup {
    constructor(options: ThrottleOptions);
    throttle(options: ThrottleOptions): Throttle;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Daniel Byrne](https://github.com/danwbyrne).

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