tty2js

convert .tty file to .js file for playing with ttyreplay

npm install tty2js
2 downloads in the last week
6 downloads in the last month

Installation:

npm install -g tty2js

Usage:

tty2js -s WxH /path/to/file.tty /path/to/output/data.js
  • W is your terminal width (columns)
  • H is your terminal height (lines / rows)
npm loves you