@tjosepo/azure-devops-npm-auth

0.1.3 • Public • Published

@tjosepo/azure-devops-npm-auth

Authentication helper for Azure Artifacts.

Getting started

Install the package:

npm install -D @tjosepo/azure-devops-npm-auth

Then, run:

npx azure-devops-npm-auth

Usage with CLI

$ npx azure-devops-npm-auth --help

Usage: azure-devops-npm-auth [options]

Options:
  --pat <pat>      Azure DevOps Private Access Token with "Packaging (Read & Write)" permissions
  --url <urls...>  Azure DevOps feed URL. Accepts multiple URLs.
  --npmrc <path>   Path to the .npmrc file that specifies the Azure DevOps feed (default: "./.npmrc")
  --target <path>  Path to the .npmrc file that will receive the authentication token (default: "~/.npmrc")
  -h, --help       display help for command

Package Sidebar

Install

npm i @tjosepo/azure-devops-npm-auth

Weekly Downloads

4

Version

0.1.3

License

MIT

Unpacked Size

7.41 kB

Total Files

4

Last publish

Collaborators

  • tjosepo