Package Versions, npm ci and npm audit

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.

By

Updated

Cheat sheet: Package Versions, npm ci and npm audit
Category
Node.js
Level
Apprentice
Tags
JavaScript, nodejs, npm audit, npm ci, npx, package-lock.json, Semantic Versioning (nodejs), Version Range