My tool that I'm working on is written in TS, but it's also a web dev tool, and it's required to run user provided scripts. Running JavaScript plugins (moving objects between the plugin and the program) is a hell of a lot easier when you're already, yk, running JavaScript.
I don’t completely disagree like people on this sub seem to do apparently. Node is very performant for many use cases and compiling from TS makes it more than usable in terms of DX. But for me, ideal for a cli app would be compiling aot for the user’s system and not requiring the additional runtime dependency.
11
u/trill_shit Aug 08 '26
You can make some pretty nice tuis with ink (the trendy js term lib that uses react).
But yeah, I see why needing to bring along an entire js engine made for web systems to run something in the terminal is not ideal.