2024-10-20 18:43:42 +05:30
|
|
|
# npm team
|
|
|
|
|
|
|
|
> Manage teams in an organization on the `npm` registry.
|
2025-08-02 20:55:21 +03:00
|
|
|
> More information: <https://docs.npmjs.com/cli/npm-team>.
|
2024-10-20 18:43:42 +05:30
|
|
|
|
|
|
|
- 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}}`
|