aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.