diff --git a/README.md b/README.md index 75c9e6d..23b0360 100644 --- a/README.md +++ b/README.md @@ -69,3 +69,9 @@ Readable stream that emits `max` random bytes before ending. `new DiscardStream(start)` Swallows all bytes until `start` is reached. + +### MeterStream + +`new MeterStream(max)` + +See [meterstream](https://github.com/blockai/meterstream) diff --git a/package.json b/package.json index 948f534..de80419 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "common-streams", - "version": "1.2.0", + "version": "1.3.0", "description": "", "main": "./lib/index.js", "directories": { @@ -55,5 +55,8 @@ "commitizen": { "path": "cz-conventional-changelog" } + }, + "dependencies": { + "meterstream": "^1.0.1" } -} \ No newline at end of file +} diff --git a/src/index.js b/src/index.js index ce10f03..06a0dec 100644 --- a/src/index.js +++ b/src/index.js @@ -2,3 +2,4 @@ export { default as HashStream } from './HashStream' export { default as SizeStream } from './SizeStream' export { default as RandomStream } from './RandomStream' export { default as DiscardStream } from './DiscardStream' +export { default as MeterStream } from 'meterstream'