Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.npmignore | D | 12-May-2024 | 13 | 2 | 1 | |
.travis.yml | D | 12-May-2024 | 65 | 7 | 6 | |
LICENSE | D | 12-May-2024 | 1.1 KiB | 22 | 17 | |
README.md | D | 12-May-2024 | 480 | 26 | 15 | |
index.js | D | 12-May-2024 | 453 | 21 | 15 | |
package.json | D | 12-May-2024 | 1.4 KiB | 56 | 55 | |
test.js | D | 12-May-2024 | 1.1 KiB | 49 | 36 |
README.md
1# stream-shift 2 3Returns the next buffer/object in a stream's readable queue 4 5``` 6npm 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 14var shift = require('stream-shift') 15 16console.log(shift(someStream)) // first item in its buffer 17``` 18 19## Credit 20 21Thanks [@dignifiedquire](https://github.com/dignifiedquire) for making this work on node 6 22 23## License 24 25MIT 26