William Caetano William Caetano - 3 months ago 13
Javascript Question

How can I create a Javascript application to run in the Linux terminal?

I want to create a Javascript (using Electron) app, but I want this app to be run and executed with terminal commands, like how you run

, is there a way to accomplish this?

I know that python and ruby are better languages for this purpose but I have a reason to use electron.


For non-GUI applications, you can just use node.js directly. If you want to make a TUI, you can use node.js + a module like blessed (and possibly blessed-contrib).