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