1.0.4 • Published 6 months ago

@types/throttle v1.0.4

Weekly downloads
362
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for throttle 1.0
// Project: https://github.com/TooTallNate/node-throttle
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />
import * as stream from '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, 02 Jul 2021 19:37:03 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by BendingBender.

1.0.2

8 months ago

1.0.4

6 months ago

1.0.3

7 months ago

1.0.1

3 years ago

1.0.0

7 years ago