Dashboard sipadu mbip
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
root d8c1b4a1be initial 5 anos atrás
..
.npmignore initial 5 anos atrás
.travis.yml initial 5 anos atrás
LICENSE initial 5 anos atrás
README.md initial 5 anos atrás
index.js initial 5 anos atrás
package.json initial 5 anos atrás
test.js initial 5 anos atrás

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