r3-v2/node_modules/stream-shift
Theunis J. Botha 5f5bbac56e initial comit 2020-02-27 15:24:35 +01:00
..
.travis.yml initial comit 2020-02-27 15:24:35 +01:00
LICENSE initial comit 2020-02-27 15:24:35 +01:00
README.md initial comit 2020-02-27 15:24:35 +01:00
index.js initial comit 2020-02-27 15:24:35 +01:00
package.json initial comit 2020-02-27 15:24:35 +01:00
test.js initial comit 2020-02-27 15:24:35 +01:00

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