Create an npm Registry
On the navigation bar, choose the project where you want to create a registry.
On the project sidebar menu, choose Packages.
On the Packages page, click New repository.
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.
Access to repository: choose whether the registry can be accessed by unauthenticated users. Learn more
After you create the repository, you will see code snippets for accessing it from the
npm
command-line tool. For example, in case of a private registry:https://npm.pkg.jetbrains.space/mycompany/p/projectkey/mynpm
.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.
On the top of the page you can copy the repository URL. For example, in case of a private registry:
https://npm.pkg.jetbrains.space/mycompany/p/projectkey/mynpm