| .. | |||
| .github/ workflows | 4 months ago | ||
| LICENSE | 4 months ago | ||
| README.md | 4 months ago | ||
| index.js | 4 months ago | ||
| package.json | 4 months ago | ||
| test.js | 4 months ago | ||
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