JetBrains Space Help

Create an npm Registry

  1. On the navigation bar, choose the project where you want to create a registry.

  2. On the project sidebar menu, choose Packages.

  3. On the Packages page, click New repository.

  4. In the New Package Repository window, specify repository settings:

    • Type: choose NPM Registry.

    • Name and Description: specify the registry name (it must be a unique identifier) and description.

    • Public access to repository: choose whether the registry can be accessed by unauthenticated users. Learn more

    • Immutable package versions: If selected, users are allowed to publish packages with the same version.

  5. After you create the registry, click the Get Started button to see the command-line snippets that will help you get started: connect to the registry, publish, and get packages. Here you can also Generate personal token for accessing the registry.

    To copy the repository URL, in the top right corner click Horizontal menu and select Copy URL. For example, in case of a private registry the URL would be:

Last modified: 18 August 2021