doc/node_modules/stream-shift
2021-05-05 15:50:12 +02:00
..
.travis.yml Move content to repo root 2021-05-05 15:50:12 +02:00
index.js Move content to repo root 2021-05-05 15:50:12 +02:00
LICENSE Move content to repo root 2021-05-05 15:50:12 +02:00
package.json Move content to repo root 2021-05-05 15:50:12 +02:00
README.md Move content to repo root 2021-05-05 15:50:12 +02:00
test.js Move content to repo root 2021-05-05 15:50:12 +02:00

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