Looks like the documentation for --napi-modules doesn't match the node --help output.
|
" --napi-modules load N-API modules (no-op - option\n" |
|
" kept for compatibility)\n" |
|
.It Fl -napi-modules |
|
Enable loading native modules compiled with the ABI-stable Node.js API (N-API) |
|
(experimental). |
|
### `--napi-modules` |
|
<!-- YAML |
|
added: v7.10.0 |
|
--> |
|
|
|
Enable loading native modules compiled with the ABI-stable Node.js API (N-API) |
|
(experimental). |
#14902 removed the description from cli.md but not from node.1. #19878 spotted the discrepancy between the files and added it back. I think I'd favour keeping the option listed in the docs, but with the description changed to match the --help output (or similar words) -- It's definitely no longer experimental.
cc @nodejs/n-api
Looks like the documentation for
--napi-modulesdoesn't match thenode --helpoutput.node/src/node.cc
Lines 3493 to 3494 in 237aa7e
node/doc/node.1
Lines 119 to 121 in 237aa7e
node/doc/api/cli.md
Lines 134 to 140 in 237aa7e
#14902 removed the description from
cli.mdbut not fromnode.1. #19878 spotted the discrepancy between the files and added it back. I think I'd favour keeping the option listed in the docs, but with the description changed to match the--helpoutput (or similar words) -- It's definitely no longer experimental.cc @nodejs/n-api