Introduction to Node.js

Node.js is an open-source and cross-platform JavaScript runtime environment.

Node.js runs in the v8 JavaScript engine, the core of Google Chrome, outside of the browser. This allows Node.js to be very performant.

Docs: https://nodejs.org/docs/latest/api/

NPM & NPX

  • npm: The Node Package Manager. Manages the libraries, dependencies, and scripts used in Node.js projects.
  • npx: The Node Package Runner (comes with npm v5.2+). Lets you run Node.js packages directly from npm, without needing to install them globally.