# stream-shift Returns the next buffer/object in a stream's readable queue ``` npm install stream-shift ``` [](http://travis-ci.org/mafintosh/stream-shift) ## Usage ``` js var shift = require('stream-shift') console.log(shift(someStream)) // first item in its buffer ``` ## Credit Thanks [@dignifiedquire](https://github.com/dignifiedquire) for making this work on node 6 ## License MIT
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.npmignore | File | 13 B | 0644 |
|
.travis.yml | File | 65 B | 0644 |
|
LICENSE | File | 1.05 KB | 0644 |
|
README.md | File | 480 B | 0644 |
|
index.js | File | 453 B | 0644 |
|
package.json | File | 1.44 KB | 0644 |
|
test.js | File | 1.12 KB | 0644 |
|