Skip to content

Latest commit

 

History

History
49 lines (26 loc) · 608 Bytes

Node.md

File metadata and controls

49 lines (26 loc) · 608 Bytes

Node

Information

Show node version

node -v

REPL

Start node REPL

node

Exit node REPL

.exit

Scripts

node <file>

Module Versioning

Version numbers (semver)

<major>.<minor>.<patch>
  • Major: Breaking changes, API changes
  • Minor: Non-breaking additions and improvements
  • Patch: Bug fixes with no API changes

Dependency symbols

Install same major with latest minor available

^<version>

Install same major and minor with latest patch version

~<version>

Install the exact specified version

<version>

Install current latest version always

*