|
|
пре 2 година | |
|---|---|---|
| .. | ||
| .travis.yml | пре 2 година | |
| LICENSE | пре 2 година | |
| README.md | пре 2 година | |
| index.js | пре 2 година | |
| package.json | пре 2 година | |
| test.js | пре 2 година | |
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