@hishprorg/accusantium-architecto
v4.3.88
Published
Returns the next buffer/object in a stream's readable queue
Downloads
1,019
Maintainers
Keywords
Readme
@hishprorg/accusantium-architecto
Returns the next buffer/object in a stream's readable queue
npm install @hishprorg/accusantium-architecto
Usage
var shift = require('@hishprorg/accusantium-architecto')
console.log(shift(someStream)) // first item in its buffer
Credit
Thanks @dignifiedquire for making this work on node 6
License
MIT