Files
cheatsheet-tldr/tldr/npm-owner
2025-12-20 00:20:53 +00:00

22 lines
462 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# npm owner
> Manage ownership of published packages.
> More information: <https://docs.npmjs.com/cli/npm-owner/>.
- Add a new user as a maintainer of a package:
`npm owner add {{username}} {{package_name}}`
- Remove a user from a package's owner list:
`npm owner rm {{username}} {{package_name}}`
- List all owners of a package:
`npm owner ls {{package_name}}`