@types/end-of-stream
TypeScript icon, indicating that this package has built-in type declarations

1.4.4 • Public • Published

Installation

npm install --save @types/end-of-stream

Summary

This package contains type definitions for end-of-stream (https://github.com/mafintosh/end-of-stream).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream.

/// <reference types="node"/>

interface Options {
    readable?: boolean | undefined;
    writable?: boolean | undefined;
    error?: boolean | undefined;
}
type Stream = NodeJS.ReadableStream | NodeJS.WritableStream;
type Callback = (error?: Error | null) => void;
declare function eos(
    stream: Stream,
    callback?: Callback,
): () => void;
declare function eos(
    stream: Stream,
    options: Options,
    callback?: Callback,
): () => void;
declare namespace eos {
}
export = eos;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Sami Kukkonen.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.4.411,118ts5.7
1.4.411,118ts5.6
1.4.411,118latest
1.4.411,118ts4.5
1.4.411,118ts4.6
1.4.411,118ts4.7
1.4.411,118ts4.8
1.4.411,118ts4.9
1.4.411,118ts5.0
1.4.411,118ts5.1
1.4.411,118ts5.2
1.4.411,118ts5.3
1.4.411,118ts5.4
1.4.411,118ts5.5
1.4.411,118ts5.8
1.4.11,565ts3.6
1.4.11,565ts3.7
1.4.11,565ts3.8
1.4.11,565ts3.9
1.4.11,565ts4.0
1.4.11,565ts4.1
1.4.11,565ts4.2
1.4.11,565ts4.3
1.4.11,565ts4.4
1.4.0309ts2.0
1.4.0309ts2.1
1.4.0309ts2.2
1.4.0309ts2.3
1.4.0309ts2.4
1.4.0309ts2.5
1.4.0309ts2.6
1.4.0309ts2.7
1.4.0309ts2.8
1.4.0309ts2.9
1.4.0309ts3.0
1.4.0309ts3.1
1.4.0309ts3.2
1.4.0309ts3.3
1.4.0309ts3.4
1.4.0309ts3.5

Version History

VersionDownloads (Last 7 Days)Published
1.4.411,118
1.4.37
1.4.253
1.4.11,565
1.4.0309

Package Sidebar

Install

npm i @types/end-of-stream

Weekly Downloads

13,052

Version

1.4.4

License

MIT

Unpacked Size

3.63 kB

Total Files

5

Last publish

Collaborators

  • types