diff --git a/doc/api/cli.md b/doc/api/cli.md index 9492aa2204dd6b..9e66b6df36b36c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -48,7 +48,8 @@ Otherwise, the file is loaded using the CommonJS module loader. See When loading, the [ES module loader][Modules loaders] loads the program entry point, the `node` command will accept as input only files with `.js`, `.mjs`, or `.cjs` extensions; with `.wasm` extensions when -[`--experimental-wasm-modules`][] is enabled; and with no extension when +[`--experimental-wasm-modules`][] is enabled; with `.node` extensions when +[`--experimental-addon-modules`][] is enabled; and with no extension when [`--experimental-default-type=module`][] is passed. ## Options @@ -896,6 +897,16 @@ and `"` are usable. It is possible to run code containing inline types by passing [`--experimental-strip-types`][]. +### `--experimental-addon-modules` + + + +> Stability: 1.0 - Early development + +Enable experimental import support for `.node` addons. + ### `--experimental-default-type=type`