Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit před 3 roky
..
.travis.yml First Commit před 3 roky
LICENSE First Commit před 3 roky
README.md First Commit před 3 roky
index.js First Commit před 3 roky
package.json First Commit před 3 roky
test.js First Commit před 3 roky

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