package
Returns the next buffer/object in a stream's readable queue
npm install stream-shiftGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 1 packages.
4.4 kB
Includes dependencies.
Returns the next buffer/object in a stream's readable queue
npm install stream-shiftvar shift = require('stream-shift')
console.log(shift(someStream)) // first item in its bufferThanks @dignifiedquire for making this work on node 6
MIT