Open source
2026az-npm
Zero-config CLI for authenticating npm, pnpm, and bun against Azure DevOps Artifacts feeds.
az-npm is a tiny CLI for a repetitive problem: getting JavaScript package managers authenticated against private Azure DevOps Artifacts NPM feeds without turning setup into a manual ritual.
How it works
Prerequisite 💡: You need to have the Azure CLI installed and authenticated with access to the relevant Azure DevOps organization.
In a folder with an .npmrc that points to an Azure Artifacts feed, run:
npx @eimerreis/az-npm
The tool uses the Azure CLI as the authentication anchor, then writes the right credentials for npm, pnpm, or bun so private registry access is actually a one-command step.
Why I made it
I wanted a smaller, more predictable workflow for private package feeds. Most of the friction was never the package manager itself, it was the ceremony around tokens, config files, and remembering which machine was already authenticated. Leveraging the Azure CLI meant I could piggyback on an existing authentication flow.
What it does
- Authenticates package manager access against Azure DevOps Artifacts.
- Works with
npm,pnpm, andbun. - Keeps the interface deliberately minimal with a zero-config default.
- Supports optional token and working-directory flags for more controlled setups.
Shape of the project
The project is intentionally narrow: one focused command, fast setup, and as little configuration overhead as possible. It is the kind of utility I like building and maintaining because it solves a real annoyance without becoming a platform.
If you work with Azure-hosted private packages, az-npm is meant to disappear into your setup and stay out of the way.