What is npm?
Also called: Node Package Manager, Packages
The short answer
npm is the package manager and registry for JavaScript, where developers install shared libraries (packages) into their projects.
npm, explained
Every installed package is code you now depend on. Fewer, well-maintained dependencies mean smaller sites and fewer security surprises.
Questions people ask about npm
What is npm?
npm is the package manager and registry for JavaScript, where developers install shared libraries (packages) into their projects.
Related terms
Node.js is a JavaScript runtime that runs JavaScript outside the browser, used for servers, build tools and command-line programs.
BundlerA bundler combines a project's many source files and dependencies into optimised files the browser can load efficiently; Vite, webpack and Turbopack are common ones.
DOMThe DOM is the browser's live, tree-shaped model of a web page; JavaScript reads and changes the DOM to update what visitors see.
Semantic HTMLSemantic HTML uses elements for their meaning, such as header, nav, main, article, button and h1 to h6, instead of generic divs, so machines understand the page.
Part of the Web Encyclopedia by Apex Flow Digital. Definitions are general knowledge, kept current, with no invented statistics.