console.info()

console.info([data][, ...]) The console.info() function is an alias for console.log().

util.print()

util.print([...]) Stability: 0 - Deprecated: Use console.log() instead. Deprecated predecessor of console.log.

http.globalAgent

http.globalAgent Global instance of Agent which is used as the default for all http client requests.

module.loaded

module.loaded <Boolean> Whether or not the module is done loading, or is in the process of loading.

childprocess.pid

child.pid <Number> Integer Returns the process identifier (PID) of the child process. Example: const spawn = require('child_process').spawn; const grep = spawn('grep', ['ssh']); console.log(`Spawned child pid: ${grep.pid}`); grep.stdin.end();

util.isBuffer()

util.isBuffer(object) Stability: 0 - Deprecated: Use Buffer.isBuffer() instead. Returns true if the given "object" is a Buffer. Otherwise, returns false. const util = require('util'); util.isBuffer({ length: 0 }) // false util.isBuffer([]) // false util.isBuffer(new Buffer('hello world')) // true

eventemitter.emit()

emitter.emit(eventName[, arg1][, arg2][, ...]) Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each. Returns true if the event had listeners, false otherwise.

process.cwd()

process.cwd() Returns the current working directory of the process. console.log(`Current directory: ${process.cwd()}`);

util.isObject()

util.isObject(object) Stability: 0 - Deprecated Returns true if the given "object" is strictly an Object and not a Function. Otherwise, returns false. const util = require('util'); util.isObject(5) // false util.isObject(null) // false util.isObject({}) // true util.isObject(function(){}) // false

Debugger

Stability: 2 - Stable Node.js includes a full-featured out-of-process debugging utility accessible via a simple TCP-based protocol and built-in debugging client. To use it, start Node.js with the debug argument followed by the path to the script to debug; a prompt will be displayed indicating successful launch of the debugger: $ node debug myscript.js < debugger listening on port 5858 connecting... ok break in /home/indutny/Code/git/indutny/myscript.js:1 1 x = 5; 2 setTimeout(() => {