DEP0142: repl._builtinLibs


类型: 仅文档

node:repl 模块导出 _builtinLibs 属性,该属性包含带有原生模块的数组。 目前还不完整,最好还是靠 require('node:module').builtinModules

Type: Documentation-only

The node:repl module exports a _builtinLibs property that contains an array with native modules. It was incomplete so far and instead it's better to rely upon require('node:module').builtinModules.