diff options
author | 2022-05-11 19:12:00 -0700 | |
---|---|---|
committer | 2022-05-11 19:12:00 -0700 | |
commit | 1d6923beade9da0d798698720f67505673785409 (patch) | |
tree | 04c5ac5a46b8e2400ba29e44a98c72abff344510 | |
parent | 732124e3dd14528682f35fb47564f98d718aa980 (diff) | |
download | bun-1d6923beade9da0d798698720f67505673785409.tar.gz bun-1d6923beade9da0d798698720f67505673785409.tar.zst bun-1d6923beade9da0d798698720f67505673785409.zip |
Update README.md
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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`. |