/ stream.nieuweinstituut.nl / node_modules / stream-shift /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE40 years ago1.1K 
[TXT]README.md40 years ago480 d768d73 docs [كارل مبارك]
[   ]index.js40 years ago498 3e510ca test new git [كارل مبارك]
[   ]package.json2 years ago1.5K3e510ca test new git [كارل مبارك]
[   ]test.js40 years ago1.1K 
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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80