diff --git a/SPEC/STATS.md b/SPEC/STATS.md index 7f2b7dbd..f8315857 100644 --- a/SPEC/STATS.md +++ b/SPEC/STATS.md @@ -92,6 +92,7 @@ Options are described on [`ipfs.stats.bw`](#bw). ```JavaScript const stream = ipfs.stats.bwReadableStream({ poll: true }) +const bl = require('bl') stream.pipe(bl((err, data) => { console.log(data)