Skip to content

Commit 701c366

Browse files
committed
docs: mention solution of stream in browser
Signed-off-by: Josh-Cena <[email protected]>
1 parent e34abfe commit 701c366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Note that it's focused on performance and simplicity, so the number of words it
1919
npm install reading-time --production
2020
```
2121

22-
Note: this library is primarily for Node apps. If you need to use it in browsers with a bundler like Webpack, the `ReadingTimeStream` module would not be available because only a subset of the exports is included.
22+
Note: this library is primarily for Node apps. If you need to use it in browsers with a bundler like Webpack, the `ReadingTimeStream` module would not be available because only a subset of the exports is included. If you need to use the stream version in browser (e.g. with a browser polyfill of `Buffer`), use `import ReadingTimeStream from 'reading-time/dist/stream'` instead. (And please let us know if that happens—we can reconsider our prioritization.)
2323

2424
## Usage
2525

0 commit comments

Comments
 (0)