File: README.md

package info (click to toggle)
node-stream-shift 1.0.3%2B~1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: javascript: 53; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 789 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Installation
> `npm install --save @types/stream-shift`

# Summary
This package contains type definitions for stream-shift (https://github.com/mafintosh/stream-shift).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stream-shift.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stream-shift/index.d.ts)
````ts
/// <reference types="node"/>

declare function shift(stream: NodeJS.ReadableStream): Buffer | string | null;

export = shift;

````

### 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 Cassidy](https://github.com/djcsdy).