1NPM-TEAM(1)                                                        NPM-TEAM(1)
2
3
4

NAME

6       npm-team - Manage organization teams and team memberships
7

SYNOPSIS

9         npm team create <scope:team>
10         npm team destroy <scope:team>
11
12         npm team add <scope:team> <user>
13         npm team rm <scope:team> <user>
14
15         npm team ls <scope>|<scope:team>
16
17         npm team edit <scope:team>
18

DESCRIPTION

20       Used  to  manage  teams  in organizations, and change team memberships.
21       Does not handle permissions for packages.
22
23       Teams must always be fully qualified with the  organization/scope  they
24       belong to when operating on them, separated by a colon (:). That is, if
25       you have a developers team on a foo organization, you must always refer
26       to that team as foo:developers in these commands.
27
28       · create / destroy: Create a new team, or destroy an existing one.
29
30       · add  /  rm:  Add  a user to an existing team, or remove a user from a
31         team they belong to.
32
33       · ls: If performed on an organization  name,  will  return  a  list  of
34         existing  teams  under  that organization. If performed on a team, it
35         will instead return a list of all users belonging to that  particular
36         team.
37
38       · edit: Edit a current team.
39
40

DETAILS

42       npm team always operates directly on the current registry, configurable
43       from the command line using --registry=<registry url>.
44
45       In order to create teams and manage team membership, you must be a team
46       admin  under the given organization. Listing teams and team memberships
47       may be done by any member of the organizations.
48
49       Organization creation and management of team  admins  and  organization
50       members is done through the website, not the npm CLI.
51
52       To  use teams to manage permissions on packages belonging to your orga‐
53       nization, use the npm access command to grant or revoke the appropriate
54       permissions.
55

SEE ALSO

57       · npm help access
58
59       · npm help 7 registry
60
61
62
63
64
65                                  April 2019                       NPM-TEAM(1)
Impressum