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).

net_socket.bytesWritten

socket.bytesWritten The amount of bytes sent.

readable._read()

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

sign.update()

sign.update(data[, input_encoding]) Updates the Sign content with the given data, the encoding of which is given in input_encoding and can be 'utf8', 'ascii' or 'binary'. If encoding is not provided, and the data is a string, an encoding of 'utf8' is enforced. If data is a Buffer then input_encoding is ignored. This can be called many times with new data as it is streamed.

punycode.version

punycode.version A string representing the current Punycode.js version number.

writable.setDefaultEncoding()

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

resize event (WriteStream)

Event: 'resize' function () {} Emitted by refreshSize() when either of the columns or rows properties has changed. process.stdout.on('resize', () => { console.log('screen size has changed!'); console.log(`${process.stdout.columns}x${process.stdout.rows}`); });

child_process.spawn()

child_process.spawn(command[, args][, options]) command <String> The command to run args <Array> List of string arguments options <Object> cwd <String> Current working directory of the child process env <Object> Environment key-value pairs stdio <Array> | <String> Child's stdio configuration. (See options.stdio) detached <Boolean> Prepare child to run independently of its parent process. Specific behavior depends on the platform, see option

assert.notEqual()

assert.notEqual(actual, expected[, message]) Tests shallow, coercive inequality with the not equal comparison operator ( != ). const assert = require('assert'); assert.notEqual(1, 2); // OK assert.notEqual(1, 1); // AssertionError: 1 != 1 assert.notEqual(1, '1'); // AssertionError: 1 != '1' If the values are 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 error message is assig

interface.pause()

rl.pause() Pauses the readline input stream, allowing it to be resumed later if needed. Note that this doesn't immediately pause the stream of events. Several events may be emitted after calling pause, including line.