npm-{owner, author}: add page (#14605)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
7
pages/common/npm-author.md
Normal file
7
pages/common/npm-author.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# npm-author
|
||||||
|
|
||||||
|
> This command is an alias of `npm owner`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr npm owner`
|
16
pages/common/npm-owner.md
Normal file
16
pages/common/npm-owner.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# 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