mirror of https://github.com/CrimsonTome/tldr.git
Simplify node doc
parent
74dc5098fd
commit
856c3d1535
|
@ -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}}"`
|
||||||
|
|
Loading…
Reference in New Issue