1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 15:33:50 +02:00

Merge pull request #387 from sigkell/node

Reworded node doc, added one new example
This commit is contained in:
Waldir Pimenta 2015-12-26 01:36:43 +00:00
commit 52f443a5a2

View file

@ -1,11 +1,15 @@
# node # node
>Main node command > Server-side JavaScript platform (Node.js)
- Call an interactive node shell - Run a JavaScript file
`node {{file}}.js`
- Start a REPL loop (interactive shell)
`node` `node`
- Execute node on a JS file - Evaluate JavaScript by passing it in the command
`node {{FILENAME}}.js` `node -e "{{code}}"`