orgs npm-orgs
Working with Teams & Orgs
Description
There are three levels of org users:
Super admin, controls billing & adding people to the org. Team admin, manages team membership & package access. Developer, works on packages they are given access to. The super admin is the only person who can add users to the org because it impacts the monthly bill. The super admin will use the website to manage membership. Every org has a developers team that all users are automatically added to.
The team admin is the person who manages team creation, team membership, and package access for teams. The team admin grants package access to teams, not individuals.
The developer will be able to access packages based on the teams they are on. Access is either read-write or read-only.
There are two main commands:
npm team see npm-access for more details npm access see npm-team for more details Team Admins create teams
Check who you’ve added to your org:
npm team ls
Create a new team:
npm team create
In package directory, run
npm init --scope=
Grant access:
npm access grant
See what org packages a team member can access:
npm access ls-packages
npm-team npm-access npm-scope