aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4f850d6c6..2b51dc7bd 100644
--- a/README.md
+++ b/README.md
@@ -1912,7 +1912,7 @@ You can also use `process.dlopen`:
```js
var mod = { exports: {} };
-process.dlopen("./my-node-module.node", mod);
+process.dlopen(mod, "./my-node-module.node");
```
As part of that work, Bun.js also polyfills the [`detect-libc`](https://npmjs.com/package/detect-libc) package, which is used by many Node-API modules to detect which `.node` binding to `require`.