n

node-pty

Developed by microsoft
Open Source TypeScript Global free #conpty#forkpty#openpty#pseudoterminal#pty

node-pty is a Node.js module providing `forkpty(3)` bindings, enabling applications to create and manage pseudoterminals. It allows forking processes and interacting with them via read and write operations through a terminal object. This library is a crucial component for building terminal emulators (like the one in VS Code) and for scenarios where programs need to behave as if they are communicating with a real terminal. It supports Linux, macOS, and Windows (via ConPTY API) and includes advanced features like flow control.

  • Pseudoterminal (PTY) Bindings
  • Cross-platform Compatibility (Linux, macOS, Windows)
  • Process Forking & I/O Interaction
  • Terminal Emulator Backend
  • Flow Control Support
webdesktop