Skip to content

Commit 3a916c4

Browse files
committed
Update example with current version
1 parent 1188902 commit 3a916c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ console.log(textDecoder.decode(decompressedData)); // Prints 'some input'
6363

6464
You can also load it from a CDN like so:
6565
```javascript
66-
let brotli = await import("https://unpkg.com/brotli-wasm@1.3.1/index.web.js?module").then(m => m.default);
66+
const brotli = await import("https://unpkg.com/brotli-wasm@3.0.0/index.web.js?module").then(m => m.default);
6767
```
6868

6969
The package itself has no runtime dependencies, although if you prefer using `Buffer` over using `TextEncoder/TextDecoder` you may want a [browser Buffer polyfill](https://www.npmjs.com/package/browserify-zlib).

0 commit comments

Comments
 (0)