open event (fs.WriteStream)

Event: 'open' fd <Number> Integer file descriptor used by the WriteStream. Emitted when the WriteStream's file is opened.

https.get()

https.get(options, callback) Like http.get() but for HTTPS. options can be an object or a string. If options is a string, it is automatically parsed with url.parse(). Example: const https = require('https'); https.get('https://encrypted.google.com/', (res) => { console.log('statusCode: ', res.statusCode); console.log('headers: ', res.headers); res.on('data', (d) => { process.stdout.write(d); }); }).on('error', (e) => { console.error(e); });

buffer.readUIntLE()

buf.readUIntLE(offset, byteLength[, noAssert]) offset <Number> 0 <= offset <= buf.length - byteLength byteLength <Number> 0 < byteLength <= 6 noAssert <Boolean> Default: false Return: <Number> Reads byteLength number of bytes from the Buffer at the specified offset and interprets the result as an unsigned integer. Supports up to 48 bits of accuracy. For example: const buf = Buffer.allocUnsafe(6); buf.writeUInt16LE(0x90ab, 0); buf.writeUInt32LE(0x1234

writable.uncork()

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

assert.strictEqual()

assert.strictEqual(actual, expected[, message]) Tests strict equality as determined by the strict equality operator ( === ). const assert = require('assert'); assert.strictEqual(1, 2); // AssertionError: 1 === 2 assert.strictEqual(1, 1); // OK assert.strictEqual(1, '1'); // AssertionError: 1 === '1' If the values are not strictly equal, an AssertionError is thrown with a message property set equal to the value of the message parameter. If the message parameter is undefined, a default

replServer.defineCommand()

replServer.defineCommand(keyword, cmd) keyword <String> cmd <Object> | <Function> Makes a command available in the REPL. The command is invoked by typing a . followed by the keyword. The cmd is an object with the following values: help - help text to be displayed when .help is entered (Optional). action - a function to execute, potentially taking in a string argument, when the command is invoked, bound to the REPLServer instance (Required). If a function is provided

fs.fdatasyncSync()

fs.fdatasyncSync(fd) Synchronous fdatasync(2). Returns undefined.

module.id

module.id <String> The identifier for the module. Typically this is the fully resolved filename.

net_server.maxConnections

server.maxConnections Set this property to reject connections when the server's connection count gets high. It is not recommended to use this option once a socket has been sent to a child with child_process.fork().

process.abort()

process.abort() This causes Node.js to emit an abort. This will cause Node.js to exit and generate a core file.