chenpm 113896a47c no message месяцев назад: 8
..
.travis.yml 113896a47c no message месяцев назад: 8
LICENSE 113896a47c no message месяцев назад: 8
README.md 113896a47c no message месяцев назад: 8
index.js 113896a47c no message месяцев назад: 8
package.json 113896a47c no message месяцев назад: 8
test.js 113896a47c no message месяцев назад: 8

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