peach a19a732be8 commit message | 2 lat temu | |
---|---|---|
.. | ||
.travis.yml | 2 lat temu | |
LICENSE | 2 lat temu | |
README.md | 2 lat temu | |
index.js | 2 lat temu | |
package.json | 2 lat temu | |
test.js | 2 lat temu |
Returns the next buffer/object in a stream's readable queue
npm install stream-shift
var shift = require('stream-shift')
console.log(shift(someStream)) // first item in its buffer
Thanks @dignifiedquire for making this work on node 6
MIT