Mohammad Asif cf937194cb Removed un-waned things 1. hace 6 meses
..
.github cf937194cb Removed un-waned things 1. hace 6 meses
LICENSE cf937194cb Removed un-waned things 1. hace 6 meses
README.md cf937194cb Removed un-waned things 1. hace 6 meses
index.js cf937194cb Removed un-waned things 1. hace 6 meses
package.json cf937194cb Removed un-waned things 1. hace 6 meses
test.js cf937194cb Removed un-waned things 1. hace 6 meses

README.md

stream-shift

Returns the next buffer/object in a stream's readable queue

npm install stream-shift

build status

Usage

var shift = require('stream-shift')

console.log(shift(someStream)) // first item in its buffer

Credit

Thanks @dignifiedquire for making this work on node 6

License

MIT