# npm and package.json

npm and package.json: npm and Packages, Package Versions, npm ci and npm audit.

Updated: November 20, 2026

1. [npm and Packages](https://www.ask-codey.com/lessons/javascript-tooling-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.
2. [Package Versions, npm ci and npm audit](https://www.ask-codey.com/lessons/node-npm-versions-and-lock-file) (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.

Source: https://www.ask-codey.com/courses/nodejs-in-depth/topics/node-npm
