module.registerHooks(options)
稳定性: 1.1 - 处于活跃开发中
options<Object>load<Function> | <undefined> 参见 加载钩子。默认值:undefined。resolve<Function> | <undefined> 参见 解析钩子。默认值:undefined。
注册 钩子,以自定义 Node.js 模块的解析和加载行为。请参见 自定义钩子。
【Register hooks that customize Node.js module resolution and loading behavior. See Customization hooks.】