There are three levels of org users:
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 teamsee npm team for more details
npm accesssee npm access for more details
npm team ls <org>:developers
developersteam, so you can see the whole list of team members in your org. This team automatically gets read-write access to all packages, but you can change that with the
npm team create <org:team>
npm team add <org:team> <user>
npm init --scope=<org>
to scope it for your org & publish as usual
npm access grant <read-only|read-write> <org:team> [<package>]
npm access revoke <org:team> [<package>]
npm access ls-packages <org> <user>
npm access ls-packages <org:team>
npm access ls-collaborators <pkg>
👀 Found a typo? Let us know!
The current stable version of npm is here. To upgrade, run:
npm install npm@latest -g
To report bugs or submit feature requests for the docs, please post here. Submit npm issues here.