aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-05-28 19:15:44 +0100
committerMichael Williamson <mike@zwobble.org>2023-05-28 19:15:44 +0100
commit84fffea3212510a7b0b1d33b8dad4a9660675c8b (patch)
treea157929c7899872275cc5a73c8b8d995d3749b59 /README.md
parentad794b956a6c67e2e903d095a66455d512b004b7 (diff)
Remove mention of polyfills in README
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 1 insertions, 6 deletions
diff --git a/README.md b/README.md
index d188c0f..4e8486b 100644
--- a/README.md
+++ b/README.md
@@ -119,17 +119,12 @@ For instance:
### Library
-In node.js, mammoth can be required in the usual way:
+In node.js and the browser, mammoth can be required in the usual way:
```javascript
var mammoth = require("mammoth");
```
-This also works in the browser if node.js core modules
-such as `Buffer` and `Stream`, are polyfilled.
-Some bundlers, such as Webpack before version 5, will automatically polyfill these modules,
-while others, such as Webpack from version 5, require the polyfills to be explicitly configured.
-
Alternatively, you may use the standalone JavaScript file `mammoth.browser.js`,
which includes both mammoth and its dependencies.
This uses any loaded module system.