node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

tty2js

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)