Node.js v18.12.1 documentation


Table of contents

Util#

Stability: 2 - Stable

Source Code: lib/util.js

The node:util module supports the needs of Node.js internal APIs. node:util模块支持Node.js内部API的需求。Many of the utilities are useful for application and module developers as well. 许多实用程序对应用程序和模块开发人员也很有用。To access it:要访问它:

const util = require('node:util');