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

os.arch()

os.arch() Returns the operating system CPU architecture. Possible values are 'x64', 'arm' and 'ia32'. Returns the value of process.arch.

path.posix

path.posix Provide access to aforementioned path methods but always interact in a posix compatible way.

ChildProcess

Class: ChildProcess Instances of the ChildProcess class are EventEmitters that represent spawned child processes. Instances of ChildProcess are not intended to be created directly. Rather, use the child_process.spawn(), child_process.exec(), child_process.execFile(), or child_process.fork() methods to create instances of ChildProcess.

process.cwd()

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

fs.mkdtemp()

fs.mkdtemp(prefix, callback) Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. The created folder path is passed as a string to the callback's second parameter. Example: fs.mkdtemp('/tmp/foo-', (err, folder) => { console.log(folder); // Prints: /tmp/foo-itXde2 });

CryptoStream

Class: CryptoStream Stability: 0 - Deprecated: Use tls.TLSSocket instead. This is an encrypted stream.

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.

buffer.writeUInt32BE()

buf.writeUInt32BE(value, offset[, noAssert])

buffer.writeUInt16BE()

buf.writeUInt16BE(value, offset[, noAssert])