任何 npm 用户都可以创建一个组织来管理贡献者对该组织管理的包的访问。

🌐 Any npm user can create an organization to manage contributor access to packages governed by the organization.

注意: 要创建组织,你必须拥有一个 npm 用户账户。如果你没有,可以在 账户注册页面 注册。

  1. 在 npm“登录”页面上,输入您的帐户详细信息并单击登录。 Screenshot of npm login dialog
  2. 在页面的右上角,点击您的个人资料照片,然后点击添加组织。 Screenshot of the add an organization dropdown menu
  3. 在创建组织页面的 名称 字段中,输入你的组织名称。你的组织名称也将作为你的组织范围。

    Screenshot showing the new organization name field
  4. 在 名称 字段下,选择“无限私有包”付费计划或“无限公开包”免费计划,然后点击 购买 或 创建。

    Screenshot showing the billing plan selection dialog
  5. (可选) 在组织邀请页面上,输入你希望添加为组织成员的人的 npm 用户名或电子邮件地址,并选择一个团队邀请他们,然后点击 邀请。

    Screenshot showing the invitation options for a new organization
  6. 点击 继续。

    Screenshot showing the new organization confirmation