Skip to main content

NPM and Gitlab

Gitlab has a built in package repository that can be used as a stand in for NPM's global repo.

Best practice is to map a scope to your repository in your .npmrc file and in your package's package.json file.

Gitlab uses CI tokens to authenticate against the npm repository.