Node.js process.emitWarning() Method
The process.emitWarning() method is an inbuilt application programming interface of the process module which is used to send custom or application-specific process warnings. Syntax: process.emitWarning(warning[, options])Parameters: This function accepts the following parameter: warning: It is used