diff --git a/doc/api/cli.md b/doc/api/cli.md index 422ee7b61d686e..2425c504156575 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -45,8 +45,11 @@ 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; and with `.wasm` extensions when -[`--experimental-wasm-modules`][] is enabled. +`.mjs`, or `.cjs` extensions. With the following flags, additional file +extensions are enabled: + +* [`--experimental-wasm-modules`][] for files with `.wasm` extension. +* [`--experimental-addon-modules`][] for files with `.node` extension. ## Options @@ -880,6 +883,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-eventsource`