Skip to content

Glossary: Node.js Basics

node -e / node -p

Also written: node -e, node -p, -e, -p

Flags that run JavaScript from a string on the command line: `-e` evaluates it and `-p` also prints the result.

Where the book teaches it

Related terms

REPL