ReferenceError

Class: ReferenceError A subclass of Error that indicates that an attempt is being made to access a variable that is not defined. Such errors commonly indicate typos in code, or an otherwise broken program. While client code may generate and propagate these errors, in practice, only V8 will do so. doesNotExist; // throws ReferenceError, doesNotExist is not a variable in this program. ReferenceError instances will have an error.arguments property whose value is an array containing a single el

readstream.isRaw

rs.isRaw A Boolean that is initialized to false. It represents the current "raw" state of the tty.ReadStream instance.

readline.cursorTo()

readline.cursorTo(stream, x, y) Move cursor to the specified position in a given TTY stream.

readStream.path

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

ReadStream

Class: ReadStream A net.Socket subclass that represents the readable portion of a tty. In normal circumstances, process.stdin will be the only tty.ReadStream instance in any Node.js program (only when isatty(0) is true).

readline.moveCursor()

readline.moveCursor(stream, dx, dy) Move cursor relative to it's current position in a given TTY stream.

readline.createInterface()

readline.createInterface(options) Creates a readline Interface instance. Accepts an options Object that takes the following values: input - the readable stream to listen to (Required). output - the writable stream to write readline data to (Optional). completer - an optional function that is used for Tab autocompletion. See below for an example of using this. terminal - pass true if the input and output streams should be treated like a TTY, and have ANSI/VT100 escape codes written to it

readline.clearLine()

readline.clearLine(stream, dir) Clears current line of given TTY stream in a specified direction. dir should have one of following values: -1 - to the left from cursor 1 - to the right from cursor 0 - the entire line

readline.clearScreenDown()

readline.clearScreenDown(stream) Clears the screen from the current position of the cursor down.

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