The tty.ReadStream class is a subclass of net.Socket that represents the readable side of a TTY.
The tty.ReadStream class is a subclass of net.Socket that represents the readable side of a TTY. In normal circumstances process.stdin will be the only tty.ReadStream instance in a Node.js process and there should be no reason to create additional instances.
https://nodejs.org/api/tty.html
The tty module provides the tty.ReadStream and tty.WriteStream classes.
The tty module provides the tty.ReadStream and tty.WriteStream classes. In most cases, it will not be necessary or possible to use this module directly.
https://nodejs.org/api/tty.html
The tty.WriteStream class is a subclass of net.Socket that represents the writable side of a TTY.
The tty.WriteStream class is a subclass of net.Socket that represents the writable side of a TTY. In normal circumstances, process.stdout and process.stderr will be the only tty.WriteStream instances created for a Node.js process and there should be no reason to create additional instances.
0.5.8
https://nodejs.org/api/tty.html
Write Stream Events
tty package object