![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | LICENSE | 1985-10-26 08:15 | 1.1K | |
![]() | README.md | 1985-10-26 08:15 | 480 | |
![]() | index.js | 1985-10-26 08:15 | 498 | |
![]() | test.js | 1985-10-26 08:15 | 1.1K | |
![]() | package.json | 2023-06-19 12:51 | 1.5K |
# 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