# 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](https://docs.npmjs.com/cli/v6/using-npm/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.