Projekt

Obecné

Profil

Stáhnout (480 Bajtů) Statistiky
| Větev: | Revize:
1
# stream-shift
2

    
3
Returns the next buffer/object in a stream's readable queue
4

    
5
```
6
npm install stream-shift
7
```
8

    
9
[![build status](http://img.shields.io/travis/mafintosh/stream-shift.svg?style=flat)](http://travis-ci.org/mafintosh/stream-shift)
10

    
11
## Usage
12

    
13
``` js
14
var shift = require('stream-shift')
15

    
16
console.log(shift(someStream)) // first item in its buffer
17
```
18

    
19
## Credit
20

    
21
Thanks [@dignifiedquire](https://github.com/dignifiedquire) for making this work on node 6
22

    
23
## License
24

    
25
MIT
(3-3/6)