Home

Node Terminal Input

Running a REPL

Use node as a "Read-Evaluate-Print-Loop" environment

node [options] [V8 options] [<program-entry-point> | -e "script" | -] [--] [arguments]  

Running A Program

Use node to evaluate cli input

node -e "const x = 'this is a string'"
Tags: