How do i run a javascript program on atom?


#1

how do i run a javascript program on atom?


#2

Depending on what you need, there are a few different packages that might suit. You might find that they’re all useful to you. To press a button and run the active file as a script, the script and atom-runner packages are easy and straightforward, but they don’t (as of my latest knowledge) have the ability to prompt the user for input. The traditional way to run a script is on the command line, and packages like termination, terminal-tab, and script-runner take the tactic of opening up a virtual command line. More modern development environments like to have rapid prototyping, and for that purpose the hydrogen package excels (it can be configured for multiple languages). If you have a script that you use on a regular basis, process-palette is there for you; you can customize the whole environment and output and bind it to a flex-tool-bar button.