UNPKG

789 BMarkdownView Raw
1# Installation
2> `npm install --save @types/stream-shift`
3
4# Summary
5This package contains type definitions for stream-shift (https://github.com/mafintosh/stream-shift).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stream-shift.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stream-shift/index.d.ts)
10````ts
11/// <reference types="node"/>
12
13declare function shift(stream: NodeJS.ReadableStream): Buffer | string | null;
14
15export = shift;
16
17````
18
19### Additional Details
20 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
21 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
22
23# Credits
24These definitions were written by [Daniel Cassidy](https://github.com/djcsdy).
25
\No newline at end of file