1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 08:15:28 +02:00

npm-team: add page (#14296)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
ashborn 2024-10-20 18:43:42 +05:30 committed by GitHub
parent a9898dab64
commit 1893788d27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
pages/common/npm-team.md Normal file
View file

@ -0,0 +1,28 @@
# npm team
> Manage teams in an organization on the `npm` registry.
> More information: <https://docs.npmjs.com/cli/commands/npm-team>.
- Add a user to a team in an organization:
`npm team add {{organization:team}} {{username}}`
- Remove a user from a team:
`npm team rm {{organization:team}} {{username}}`
- Create a new team in an organization:
`npm team create {{organization:team}}`
- Delete a team from an organization:
`npm team destroy {{organization:team}}`
- List all teams in an organization:
`npm team ls {{organization}}`
- List all users in a specific team:
`npm team ls {{organization:team}}`