node package manager



A simple command line utility based on pty.js.

It allows you to fork processes with pseudo terminal file descriptors, for example to run commands in non interactive envs. So certain programs will think that it works inside terminal.

It also allows you to transform output of terminal control sequences into base64 format.


npm install --global pty64

Usage example

# run any command with pty
pty64 -- {any command}
# transform output into base64
pty64 --base64 -- {any command}