Skip to content

Tag Archives: Node.js-util-module

The Console class can be used to create a logger with configurable output streams and the basic usage is described in Node.js new Console() Method.… Read More
The “util” module provides ‘utility’ functions that are used for debugging purposes. For accessing those functions we need to call them (by ‘require(‘util’)‘). The util.debuglog()… Read More
The util.formatWithOptions() (Added in v10.0.0) method is an inbuilt application programming interface of the util module which is like printf format string and returns a… Read More
The util.types.isUint16Array() (Added in v10.0.0) method is an inbuilt application programming interface of the util module which is used to check whether the value passed… Read More
The util.types.isNativeError() (Added in v10.0.0) method is an inbuilt application programming interface of the util module which is used to identify whether the value is… Read More
This function is used to check whether the following object is an instance of Module Namespace Object. This function returns a true value if the… Read More
The “util” module provides ‘utility’ functions that are used for debugging purposes. For accessing those functions we need to call them (by ‘require(‘util’)‘). The util.types.isArrayBufferView()… Read More
The “util” module provides ‘utility’ functions that are used for debugging purposes. For accessing those functions we need to call them (by ‘require(‘util’)‘). The util.inherits()… Read More
The util.types.isUint32Array() (Added in v10.0.0) method is an inbuilt application programming interface of the util module which is used to check whether the value passed… Read More
The “util” module provides ‘utility’ functions that are used for debugging purposes. For accessing those functions we need to call them (by ‘require(‘util’)‘). The util.isDeepStrictEqual()… Read More
The “util” module provides ‘utility’ functions that are used for debugging purposes. For accessing those functions we need to call them by ‘require(‘util’)’. The util.inspect()… Read More
The util.deprecate() (Added in v0.8.0_ method is an inbuilt application programming interface of the util module which wraps fn (which may be a function or… Read More
The util.format() (Added in v0.5.3) method is an inbuilt application programming interface of the util module which is like printf format string and returns a… Read More
The util.promisify() method defines in utilities module of Node.js standard library. It is basically used to convert a method that returns responses using a callback… Read More
The util.getSystemErrorName() method is defined in utilities module of Node.js standard library. It is used to know the type of error that occurs in the… Read More