util 实用工具
稳定性: 2 - 稳定
源代码: lib/util.js
node:util
模块支持 Node.js 内部 API 的需求。
许多实用工具对应用程序和模块开发者也很有用。
要访问它:
const util = require('node:util');
Stability: 2 - Stable
Source Code: lib/util.js
The node:util
module supports the needs of Node.js internal APIs. Many of the
utilities are useful for application and module developers as well. To access
it:
const util = require('node:util');