{"repo":"rse/stmux","free":true,"listed":false,"github":"https://github.com/rse/stmux","clone":"git clone https://github.com/rse/stmux.git","description":"Simple Terminal Multiplexer for Node.js Environments","language":"TypeScript","stars":547,"topics":["simple","terminal","multiplexer","node","npm","script"],"license":null,"category":"cli-tools","readme_excerpt":"stmux ===== Simple Terminal Multiplexing for Node Environments Abstract -------- This is a simple terminal multiplexing utility for Node.js environments. It is inspired by the awesome and unreachable tmux native Unix utility. The stmux utility is intended to provide just a very tiny subset of the original tmux functionality, but in a portable way for bare Node.js environments and with some special features for application build environments. Most notably, stmux has a build-time error detection and notification feature, can automatically restart terminated commands, and can automatically close or wait after all spawned commands have successfully or unsuccessfully terminated. Internally, stmux is based on the awesome Blessed screen rendering environment and emulates full XTerm-compatible pseudo-terminals to the spawned programs with the help of Blessed XTerm and the underlying XTerm.js terminal rendering and node-pty pseudo-terminal integration modules. Example ------- The following command... ...leads to the following particular terminal multiplexing environment, where GNU bash, Vim and Midnight Commander are running side-by-side inside their own XTerm emulating terminal widgets (and, just for fun, CTRL+a ? was pressed to open up the stmux help window): Intention --------- This utility is primarily intended to be used from within a package.json script to easily side-by-side run various NPM-based commands in a Node.js build-time environment. Sample package.json entries from a t","default_branch":null,"files":null,"tree":[],"storefront":"/r/rse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rse/stmux/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}