|
|
hace 3 años | |
|---|---|---|
| .. | ||
| .travis.yml | hace 3 años | |
| LICENSE | hace 3 años | |
| README.md | hace 3 años | |
| index.js | hace 3 años | |
| package.json | hace 3 años | |
| test.js | hace 3 años | |
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