All topics
General · Learning hub

npm notes for developers

Master npm with a curated set of 8 developer notes — core concepts, patterns, and interview prep. Maintained by the DevRecall team.

Save this stack to your DevRecallTest yourself — npm quizMore General notes
01 · npm

npm Fundamentals

npm Fundamentals npm (Node Package Manager) is the default package manager for Node.js and the world's largest software registry. Understanding it deeply - install flags, lock files, scripts, and the audit tools - is ess

Read
02 · npm

package.json Deep Dive

package.json Deep Dive package.json is the heart of every Node.js project. Beyond name and version, it contains exports, engines, scripts lifecycle hooks, workspace configuration, and dependency overrides. Understanding

Read
03 · npm

Versioning & Publishing

npm Versioning & Publishing Semantic versioning, version ranges, and the publish workflow are essential knowledge for anyone maintaining a library or CLI tool. Understanding them also helps you manage dependencies respon

Read
04 · npm

npm Interview Questions

npm Interview Questions These questions come up in JavaScript, Node.js, and fullstack interviews. Deep knowledge of npm, dependencies, and the package ecosystem signals strong engineering judgment. 1. What is the differe

Read
05 · npm

Fundamentals & package.json

npm: Fundamentals & package.json npm is the default package manager for Node.js. It ships with Node.js and manages packages (libraries) for your project. package.json is the manifest file describing your project and its

Read
06 · npm

Managing Dependencies & Scripts

npm: Managing Dependencies & Scripts Installing Packages # Install all dependencies npm install npm ci # CI — strict, uses lock file exactly # Add a dependency npm install express # adds to "dependencies" npm install typ

Read
07 · npm

Publishing Packages to npm Registry

npm: Publishing Packages Authentication # Login to npm registry npm login # prompts for username/password/OTP npm login --scope=@myorg # login for org scope # Check current user npm whoami # Logout npm logout # Use acces

Read
08 · npm

Security, Auditing & Best Practices

npm: Security, Auditing & Best Practices npm audit # Check for known vulnerabilities npm audit # full report npm audit --production # only production dependencies npm audit --json # JSON output for CI parsing npm audit -

Read

Keep your npm knowledge sharp.

Save this stack to your personal DevRecall — add your own notes, track what you're learning, and share what you know with the community.

Get started — free forever