Skip to content
npm Docs
npmjs.com
Status
Support
About npm
Getting started
Packages and modules
Introduction to packages and modules
Contributing packages to the registry
Updating and managing your published packages
Getting packages from the registry
Securing your code
Integrations
Organizations
Policies
Threats and Mitigations
npm CLI
Packages and modules
Introduction to packages and modules
About the public npm registry
About packages and modules
About scopes
About public packages
About private packages
npm package scope, access level, and visibility
Contributing packages to the registry
Creating a package.json file
Creating Node.js modules
About package README files
Creating and publishing unscoped public packages
Creating and publishing scoped public packages
Creating and publishing private packages
Package name guidelines
Specifying dependencies and devDependencies in a package.json file
About semantic versioning
Adding dist-tags to packages
Updating and managing your published packages
Changing package visibility
Adding collaborators to private packages owned by a user account
Updating your published package version number
Deprecating and undeprecating packages or package versions
Transferring a package from a user account to another user account
Unpublishing packages from the registry
Getting packages from the registry
Searching for and choosing packages to download
Downloading and installing packages locally
Downloading and installing packages globally
Resolving EACCES permissions errors when installing packages globally
Updating packages downloaded from the registry
Using npm packages in your projects
Using deprecated packages
Uninstalling packages and dependencies
Securing your code
About audit reports
Auditing package dependencies for security vulnerabilities
About ECDSA registry signatures
Verifying ECDSA registry signatures
About PGP registry signatures (deprecated)
Verifying PGP registry signatures (deprecated)
Requiring 2FA for package publishing and settings modification
Reporting malware in an npm package
Edit this page on GitHub