node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org ยป

pty64

pty64

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.

Install

npm install --global pty64

Usage example

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