liveBook · Manning

Npm

npm is a package-management system for JavaScript, comprising a command-line client and an online registry for discovering, installing, and publishing packages.

How 5 Manning books explain it

Web Components in Action

npm is a package manager and software registry for JavaScript and Node.js packages.

How it is used
Uses npm to install JavaScript packages, provide local development tooling, and run project scripts.
How deep it goes
Defines installations, dependencies, package.json, and scripts, but only gestures toward larger build systems.
Examples
Demonstrates installing http-server globally, adding Web Components polyfills, initializing package.json, and defining a test script.
What you can do after
Operate/configure npm to install packages, record dependencies, distinguish development dependencies, and run package.json scripts.

Read how Web Components in Action explains npm →

Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

The default package manager for Node.js that installs packages and manages project metadata and dependencies.

How it is used
Manages packages and project metadata while setting up a Node.js microservice with Express.
How deep it goes
Works through initialization, installation, and dependency declarations; does not explain npm internals.
Examples
Uses `npm init -y`, `npm install express`, and an Express dependency entry in `package.json`.
What you can do after
Apply it via npm to initialize a project, install Express, and inspect its recorded dependency.

Read how Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform explains npm →

Essential TypeScript 5, Third Edition

npm is a package manager for installing and managing JavaScript packages and their dependencies.

How it is used
Uses npm to assemble and run the package-based toolchain for TypeScript projects and web applications.
How deep it goes
Explains dependency resolution, install scope, package.json records, version specifications, and commands; does not descend into npm implementation internals.
Examples
Uses npm init, versioned installs of TypeScript and tsc-watch, a package.json start script, and npm start.
What you can do after
Operate/configure it to initialize a project, install local development tools, distinguish dependency groups, and start a configured compiler script.

Read how Essential TypeScript 5, Third Edition explains npm →

Road to Kubernetes

npm is the package manager and registry ecosystem commonly used to install and manage Node.js packages.

How it is used
Supports initializing Node.js applications and installing their third-party dependencies.
How deep it goes
Explains initialization, local installation, and package.json tracking without descending into npm internals.
Examples
Uses npm init, npm install express, package.json, and project-directory listings as practical examples.
What you can do after
Apply it via npm to initialize projects, install Express.js, and record dependencies automatically.

Read how Road to Kubernetes explains npm →

D3.js in Action, Third Edition

npm is a package manager and registry ecosystem for installing and managing JavaScript packages.

How it is used
Supports installing and importing JavaScript libraries in D3 projects and frontend applications.
How deep it goes
Explains npm’s package installation and module-import workflow, but does not detail registry internals or dependency resolution.
Examples
Uses npm install, npm install d3, npm run start, and a D3 namespace import in a React dashboard.
What you can do after
Operate/configure JavaScript projects by installing dependencies, adding D3, starting applications, and importing packages.

Read how D3.js in Action, Third Edition explains npm →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.