Curated list of useful resources and cheatsheets for web developers
View the Project on GitHub zlatanstajic/ultimate-cheatsheet-for-developers
JavaScript runtime built on Chrome’s V8 JavaScript engine.
Read more about Node.
See also: npm — package manager for Node.js.
# Show Node.js version
node -v
# Show Node.js version (alternative)
node --version
# Syntax check (lint)
node -c [path-to-the-file]
# Start a REPL (interactive shell)
node
# Run a JavaScript file
node [filename.js]
# Print process info
node -p "process"
# Evaluate JavaScript expression from command line
node -e "console.log('Hello, Node!')"