net_socket.destroy()

socket.destroy() Ensures that no more I/O activity happens on this socket. Only necessary in case of errors (parse error or so).

fs.utimesSync()

fs.utimesSync(path, atime, mtime) Synchronous version of fs.utimes(). Returns undefined.

eventemitter.addListener()

emitter.addListener(eventName, listener) Alias for emitter.on(eventName, listener).

process.getgroups()

process.getgroups() Note: this function is only available on POSIX platforms (i.e. not Windows, Android) Returns an array with the supplementary group IDs. POSIX leaves it unspecified if the effective group ID is included but Node.js ensures it always is.

worker.id

worker.id <Number> Each new worker is given its own unique id, this id is stored in the id. While a worker is alive, this is the key that indexes it in cluster.workers

assert.fail()

assert.fail(actual, expected, message, operator) Throws an AssertionError. If message is falsy, the error message is set as the values of actual and expected separated by the provided operator. Otherwise, the error message is the value of message. const assert = require('assert'); assert.fail(1, 2, undefined, '>'); // AssertionError: 1 > 2 assert.fail(1, 2, 'whoops', '>'); // AssertionError: whoops

assert.equal()

assert.equal(actual, expected[, message]) Tests shallow, coercive equality between the actual and expected parameters using the equal comparison operator ( == ). const assert = require('assert'); assert.equal(1, 1); // OK, 1 == 1 assert.equal(1, '1'); // OK, 1 == '1' assert.equal(1, 2); // AssertionError: 1 == 2 assert.equal({a: {b: 1}}, {a: {b: 1}}); //AssertionError: { a: { b: 1 } } == { a: { b: 1 } } If the values are not equal, an AssertionError is thrown with a message property

fs.accessSync()

fs.accessSync(path[, mode]) Synchronous version of fs.access(). This throws if any accessibility checks fail, and does nothing otherwise.

zlib.deflate()

zlib.deflate(buf[, options], callback)

getHeapStatistics()

getHeapStatistics() Returns an object with the following properties { total_heap_size: 7326976, total_heap_size_executable: 4194304, total_physical_size: 7326976, total_available_size: 1152656, used_heap_size: 3476208, heap_size_limit: 1535115264 }