[apps/tidep0084.git] / example / iot-gateway / node_modules / aws-iot-device-sdk / node_modules / websocket-stream / node_modules / duplexify / node_modules / stream-shift / README.md
1 # stream-shift
3 Returns the next buffer/object in a stream's readable queue
5 ```
6 npm install stream-shift
7 ```
9 [![build status](http://img.shields.io/travis/mafintosh/stream-shift.svg?style=flat)](http://travis-ci.org/mafintosh/stream-shift)
11 ## Usage
13 ``` js
14 var shift = require('stream-shift')
16 console.log(shift(someStream)) // first item in its buffer
17 ```
19 ## Credit
21 Thanks [@dignifiedquire](https://github.com/dignifiedquire) for making this work on node 6
23 ## License
25 MIT