npm and package.json
npm and package.json: npm and Packages, Package Versions, npm ci and npm audit.
Updated
- npm and Packages (Journeyman): npm is an app store for code that comes with Node.js; you'll describe a project in package.json, install packages into node_modules, tell dependencies from devDependencies, and run the project's commands as npm scripts.
- Package Versions, npm ci and npm audit (Apprentice): A version range in package.json says which versions a project accepts, package-lock.json pins the exact ones installed, npm ci installs exactly those, and npm outdated, npm audit and npx check a project for updates, check it for security problems and run a package's command.