TTY

Node.js tty module — terminal/TTY utilities.

Module: node:tty Support: Experimental Since: 1.1.0 Docs: Node.js Docs See also: https://nodejs.org/api/tty.html

Static Methods

🟢 isatty(fd)
Returns true if the given fd is associated with a TTY.

Properties

🟢 ReadStream
The ReadStream class for reading from a TTY.
🟢 WriteStream
The WriteStream class for writing to a TTY.