No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit hace 3 años
..
.travis.yml First Commit hace 3 años
LICENSE First Commit hace 3 años
README.md First Commit hace 3 años
index.js First Commit hace 3 años
package.json First Commit hace 3 años
test.js First Commit hace 3 años

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