Is it possible to run a nodejs script using the atom nodejs installation?
For instance I run a script using a command line such:
node r.js -o build.js
I would like to know if there is a way to do the same without having a separate nodejs installation.
Atom is based on Electron which integrates it's own Node.js application. You can launch your script with the Node.js engine built into Atom by pointing directly at it.
For exemple on Linux, you can do:
$ /usr/share/atom/resources/app/apm/bin/node r.js -o build.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With