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 bufferThanks @dignifiedquire for making this work on node 6
MIT
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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 bufferThanks @dignifiedquire for making this work on node 6
MIT