diff --git a/doc/api/module.md b/doc/api/module.md index b686adc05f8..fdcb987d57b 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -76,6 +76,14 @@ const requireUtil = createRequireFromPath('../src/utils/'); requireUtil('./some-tool'); ``` +### `module.isPreloading` + + +* Type: {boolean} `true` if the module is running during the Node.js preload + phase. + ### `module.syncBuiltinESMExports()`