mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 23:35:24 +02:00
npm-{owner, author}: add page (#14605)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
e9d07c01ab
commit
0e33fcc300
2 changed files with 23 additions and 0 deletions
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}}`
|
Loading…
Add table
Reference in a new issue