since 14.6.0 Please use require.main and module.children instead.
require.main
module.children
11.14.0
The directory name of the module. This is usually the same as the path.dirname() of the module.id.
Deprecated since: v12.2.0. Please use createRequire() instead.
Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports. It does not add or remove exported names from the ES Modules.
Generated using TypeDoc
since 14.6.0 Please use
require.main
andmodule.children
instead.