Skip to content

Glossary: JavaScript Beyond the Basics

npm commands

Also written: npm audit, npm outdated, npm update, npm install, npm init, npm pkg set, npm publish

Common npm commands. `npm install` adds packages, `npm audit` checks them against known security problems, `npm outdated` and `npm update` show and apply newer versions, and `npm publish` shares your own library.

Where the book teaches it

Related terms

npmSemantic versioning