5 ms·
Node.js apps can be even easier than that (only two necessary commands): `npm install` for `go get` and `node [script.js]` for `go run`. If you want to do comp
by MadcapJake 11y ago
Node.js apps can be even easier than that (only two necessary commands): `npm install` for `go get` and `node [script.js]` for `go run`.
If you want to do compilation there are various solutions available to you as well!
- 0xCMP 11y agoActually you have `npm run named-command` too so you could get a go like thing going.
- Lazare 11y agoThe start and test scripts are special, and can be called directly. For an idiomatic node app, you'd clone the repo, then type `npm install` to get the dependencies, `npm test` to make sure the tests pass, and then `npm start` to run it.