module.registerHooks(options)


稳定性: 1.2 - 发布候选版

注册 钩子,用于自定义 Node.js 模块解析和加载行为。 参见 自定义钩子。返回的对象可以用于 注销钩子

🌐 Register hooks that customize Node.js module resolution and loading behavior. See Customization hooks. The returned object can be used to deregister the hooks.