b s s m e0c8121d0c first commit 3 лет назад
..
.travis.yml e0c8121d0c first commit 3 лет назад
LICENSE e0c8121d0c first commit 3 лет назад
README.md e0c8121d0c first commit 3 лет назад
index.js e0c8121d0c first commit 3 лет назад
package.json e0c8121d0c first commit 3 лет назад
test.js e0c8121d0c first commit 3 лет назад

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