|
|
před 3 roky | |
|---|---|---|
| .. | ||
| .travis.yml | před 3 roky | |
| LICENSE | před 3 roky | |
| README.md | před 3 roky | |
| index.js | před 3 roky | |
| package.json | před 3 roky | |
| test.js | před 3 roky | |
Returns the next buffer/object in a stream's readable queue
npm install stream-shift
var shift = require('stream-shift')
console.log(shift(someStream)) // first item in its buffer
Thanks @dignifiedquire for making this work on node 6
MIT