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