</> ConvertAtlas Developer Tools
Command line

npm Cheatsheet

The npm commands for everyday Node.js work — managing dependencies and running your project scripts.

Installing

Install everything in package.json.
Add a dependency.
Add a dev dependency.
Install globally.
Clean install from the lockfile (for CI).

Managing

Remove a package.
Update packages within their ranges.
Show packages with newer versions.
List installed top-level packages.

Scripts

Run a script from package.json.
Run the start script.
Run the test script.
List all available scripts.

Versioning & publishing

Bump patch version and tag it.
Publish the package to the registry.
Check for known vulnerabilities.
Automatically fix where possible.