mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 22:02:55 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/npm-owner
Normal file
21
tldr/npm-owner
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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/commands/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}}`
|
||||
Reference in New Issue
Block a user