abort event (http.ClientRequest)

Event: 'abort' function () { } Emitted when the request has been aborted by the client. This event is only emitted on the first call to abort().

stream.read()

stream.read(0) There are some cases where you want to trigger a refresh of the underlying readable stream mechanisms, without actually consuming any data. In that case, you can call stream.read(0), which will always return null. If the internal read buffer is below the highWaterMark, and the stream is not currently reading, then calling stream.read(0) will trigger a low-level stream._read() call. There is almost never a need to do this. However, you will see some cases in Node.js's internals

buffer.readUInt16BE()

buf.readUInt16BE(offset[, noAssert])

process.platform

process.platform What platform you're running on: 'darwin', 'freebsd', 'linux', 'sunos' or 'win32' console.log(`This platform is ${process.platform}`);

assert()

assert(value[, message]) An alias of assert.ok() . const assert = require('assert'); assert(true); // OK assert(1); // OK assert(false); // throws "AssertionError: false == true" assert(0); // throws "AssertionError: 0 == true" assert(false, 'it\'s false'); // throws "AssertionError: it's false"

zlib.reset()

zlib.reset() Reset the compressor/decompressor to factory defaults. Only applicable to the inflate and deflate algorithms.

fs.fchown()

fs.fchown(fd, uid, gid, callback) Asynchronous fchown(2). No arguments other than a possible exception are given to the completion callback.

util.isFunction()

util.isFunction(object) Stability: 0 - Deprecated Returns true if the given "object" is a Function. Otherwise, returns false. const util = require('util'); function Foo() {} var Bar = function() {}; util.isFunction({}) // false util.isFunction(Foo) // true util.isFunction(Bar) // true

querystring.escape

querystring.escape The escape function used by querystring.stringify, provided so that it could be overridden if necessary.

eventemitter.listenerCount()

emitter.listenerCount(eventName) eventName <Value> The name of the event being listened for Returns the number of listeners listening to the event named eventName.