diffieHellman.setPublicKey()

diffieHellman.setPublicKey(public_key[, encoding]) Sets the Diffie-Hellman public key. If the encoding argument is provided and is either 'binary', 'hex' or 'base64', public_key is expected to be a string. If no encoding is provided, public_key is expected to be a Buffer.

zlib.gunzip()

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

path.extname()

path.extname(p) Return the extension of the path, from the last '.' to end of string in the last portion of the path. If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string. Examples: path.extname('index.html') // returns '.html' path.extname('index.coffee.md') // returns '.md' path.extname('index.') // returns '.' path.extname('index') // returns '' path.extname('.index') // returns ''

close event (stream.Readable)

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

fs.statSync()

fs.statSync(path) Synchronous stat(2). Returns an instance of fs.Stats.

console.timeEnd()

console.timeEnd(label) Stops a timer that was previously started by calling console.time() and prints the result to stdout: console.time('100-elements'); for (var i = 0; i < 100; i++) { ; } console.timeEnd('100-elements'); // prints 100-elements: 225.438ms

decipher.setAAD()

decipher.setAAD(buffer) When using an authenticated encryption mode (only GCM is currently supported), the cipher.setAAD() method sets the value used for the additional authenticated data (AAD) input parameter.

listening event (net.Server)

Event: 'listening' Emitted when the server has been bound after calling server.listen.

stream.Transform

Class: stream.Transform A "transform" stream is a duplex stream where the output is causally connected in some way to the input, such as a zlib stream or a crypto stream. There is no requirement that the output be the same size as the input, the same number of chunks, or arrive at the same time. For example, a Hash stream will only ever have a single chunk of output which is provided when the input is ended. A zlib stream will produce output that is either much smaller or much larger than its

SIGCONT event (Readline)

Event: 'SIGCONT' function () {} This does not work on Windows. Emitted whenever the input stream is sent to the background with ^Z, respectively known as SIGTSTP, and then continued with fg(1). This event only emits if the stream was not paused before sending the program to the background. Example of listening for SIGCONT: rl.on('SIGCONT', () => { // `prompt` will automatically resume the stream rl.prompt(); });