/ live.thehmm.nl / back / node_modules / stream-shift /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE40 years ago1.1K 
[TXT]README.md40 years ago480 d7c1522 post receive test [كارل مبارك]
[   ]index.js40 years ago498  
[   ]package.json2 years ago1.5K 
[   ]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