A streaming interface to do reservoir sampling by using the great reservoir module.
installation
npm install reservoir-stream
demo/usage
// use a reservoir size of 3var stream = 3 var inputStream// 3 random elements from the inputStream will be piped to the outputStream