X7ROOT File Manager
Current Path:
/lib/node_modules/npm/node_modules/stream-shift
lib
/
node_modules
/
npm
/
node_modules
/
stream-shift
/
??
..
??
.npmignore
(13 B)
??
.travis.yml
(65 B)
??
LICENSE
(1.05 KB)
??
README.md
(480 B)
??
index.js
(453 B)
??
package.json
(1.44 KB)
??
test.js
(1.12 KB)
Editing: README.md
# stream-shift Returns the next buffer/object in a stream's readable queue ``` npm install stream-shift ``` [](http://travis-ci.org/mafintosh/stream-shift) ## Usage ``` js var shift = require('stream-shift') console.log(shift(someStream)) // first item in its buffer ``` ## Credit Thanks [@dignifiedquire](https://github.com/dignifiedquire) for making this work on node 6 ## License MIT
Upload File
Create Folder