LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

npm-team

manages organization teams

TLDR

List teams
$ npm team ls [@org]
copy
Create team
$ npm team create [@org:team]
copy
Destroy team
$ npm team destroy [@org:team]
copy
Add user to team
$ npm team add [@org:team] [user]
copy
Remove user from team
$ npm team rm [@org:team] [user]
copy

SYNOPSIS

npm team [command] [options]

DESCRIPTION

npm team manages organization teams. Controls package access groups.The command handles team membership. Part of npm organizations feature.

PARAMETERS

ls @org | @org:team

List teams in an organization, or members of a specific team.
create @org:team
Create a new team under the given organization scope.
destroy @org:team
Delete an existing team (the developers team cannot be removed).
add @org:team user
Add a user to the given team.
rm @org:team user
Remove a user from the given team.
--otp code
Provide a two-factor authentication one-time password.
--registry url
Target registry URL (defaults to https://registry.npmjs.org).
--parseable
Output in tab-separated parseable format.
--json
Output results as JSON.
--help
Display help information.

CAVEATS

Requires organization. Admin access needed. Paid feature.

HISTORY

npm team provides team-based access control for npm organization packages.

SEE ALSO

npm(1), npm-org(1), npm-access(1)

Copied to clipboard
Kai