JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q18458F
  • License MIT

Fork processes with pseudo terminal, allow to output in base64

Package Exports

  • pty64

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pty64) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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}