Add an organisation as an owner of an NPM package

881 Views Asked by At

I am looking to add an organisation as a user or transfer ownership of a package so that it appears in their 'packages' section.

Attempting to associate them via npm add user *org registry name* doesn't work, since they're an org and not a user.

Would the correct approach be for my company to associate a scope with their registry and then associating that scope with the package registry?

Can't find further information on how to achieve this seemingly simple task.

1

There are 1 best solutions below

0
On

You can't transfer an NPM package to an organization, but you can transfer it to an organization's team.

To do so, go to the org's packages page (https://www.npmjs.com/settings/{ORG_NAME}/teams) and select the team you want to grant access, then you can enter the package name and click "+ Add Existing Package".