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.

unpipe event (stream.Writable)

Stability: 2 - Stable A stream is an abstract interface implemented by various objects in Node.js. For example a request to an HTTP server is a stream, as is process.stdout. Streams are readable, writable, or both. All streams are instances of EventEmitter. You can load the Stream base classes by doing require('stream'). There are base classes provided for Readable streams, Writable streams, Duplex streams, and Transform streams. This document is split up into 3 sections: The first section e

process.platform

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

fs.rmdir()

fs.rmdir(path, callback) Asynchronous rmdir(2). No arguments other than a possible exception are given to the completion callback.

response.sendDate

response.sendDate When true, the Date header will be automatically generated and sent in the response if it is not already present in the headers. Defaults to true. This should only be disabled for testing; HTTP requires the Date header in responses.

process.memoryUsage()

process.memoryUsage() Returns an object describing the memory usage of the Node.js process measured in bytes. const util = require('util'); console.log(util.inspect(process.memoryUsage())); This will generate: { rss: 4935680, heapTotal: 1826816, heapUsed: 650472 } heapTotal and heapUsed refer to V8's memory usage.

interface.resume()

rl.resume() Resumes the readline input stream.

close event (dgram.Socket)

Event: 'close' The 'close' event is emitted after a socket is closed with close(). Once triggered, no new 'message' events will be emitted on this socket.

readStream.path

readStream.path The path to the file the stream is reading from.