The TextEncoder is an interface that takes a stream of code points as input and emits a stream of encoded UTF-8 codes. This is provided… Read More
Tag Archives: Node.js-util-module
The util.types.isExternal() method is an inbuilt application programming interface of the util module which is used to check if the value is a native External… Read More
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