Gazebo_simulation-Frontend/node_modules/stream-shift
Riddhi Dave c586e2ed33 session update with django backend 2021-02-25 10:57:52 -05:00
..
.travis.yml React files 2020-12-21 10:29:31 -05:00
LICENSE React files 2020-12-21 10:29:31 -05:00
README.md React files 2020-12-21 10:29:31 -05:00
index.js React files 2020-12-21 10:29:31 -05:00
package.json session update with django backend 2021-02-25 10:57:52 -05:00
test.js React files 2020-12-21 10:29:31 -05:00

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