Update cheatsheets

This commit is contained in:
ivuorinen
2024-11-04 00:18:17 +00:00
parent fd7ebaa72d
commit f0c47a27eb
6 changed files with 70 additions and 3 deletions

21
tldr/npm-owner Normal file
View 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}}`