tty.WriteStream 类
- 继承自: <net.Socket>
代表终端的可写端。
在正常情况下,process.stdout 和 process.stderr 将是为 Node.js 进程创建的唯一的 tty.WriteStream 实例,应该没有理由创建额外的实例。
- Extends: <net.Socket>
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.