mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
462 B
Plaintext
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}}`
|