All topics
General · Learning hub

npm cheat sheet & developer notes

npm cheat sheet and 8 curated 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

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 respo…

Read
02 · 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 diffe…

Read
03 · 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
04 · 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 es…

Read
05 · 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 t…

Read
06 · 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 acc…

Read
07 · 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
08 · 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

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