You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,39 @@ let brotli = await import("https://unpkg.com/[email protected]/index.web.js?modu
68
68
69
69
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).
70
70
71
+
##### Using an importmap
72
+
73
+
If you've installed `brotli-wasm` as an NPM package, you can load it from the `node_modules` folder:
0 commit comments