npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@billpeet/azdevops-cli

v0.1.0

Published

Azure DevOps CLI tool for AI agent and developer use

Readme

@billpeet/azdevops-cli

Azure DevOps CLI for AI agents and developers. Provides a structured command-line interface to Azure DevOps Services with JSON (default) and text output formats.

Installation

npm i -g @billpeet/azdevops-cli

Setup

azdevops setup --org myorg --token YOUR_PAT --project MyProject

Configuration is saved to ~/.config/azdevops-cli/config.json.

Environment Variables

Environment variables override file configuration:

| Variable | Description | |----------|-------------| | AZDEVOPS_ORG | Azure DevOps organization name | | AZDEVOPS_TOKEN | Personal Access Token (PAT) | | AZDEVOPS_PROJECT | Default project name |

Commands

Setup

azdevops setup --org <org> --token <token> [--project <project>]

Projects

azdevops project list [--top <n>] [--skip <n>]

Repositories

azdevops repo list --project <project>

Branches

azdevops branch list --repo <repo> [--project <project>] [--filter <prefix>]

Pull Requests

# List PRs
azdevops pr list --repo <repo> [--project <project>] [--status active|completed|abandoned|all] [--top <n>]

# Get PR details
azdevops pr get --repo <repo> --id <id> [--project <project>]

# Create PR
azdevops pr create --repo <repo> --source <branch> --target <branch> --title <title> [--description <text>] [--reviewers <ids>] [--project <project>]

# Update PR
azdevops pr update --repo <repo> --id <id> [--status completed|abandoned] [--title <title>] [--description <text>] [--project <project>]

# List reviewers
azdevops pr reviewers --repo <repo> --id <id> [--project <project>]

Pipelines

# List pipelines
azdevops pipeline list [--project <project>] [--top <n>]

# Trigger a pipeline run
azdevops pipeline run --pipeline-id <id> [--branch <branch>] [--project <project>]

# List runs for a pipeline
azdevops pipeline runs --pipeline-id <id> [--project <project>] [--top <n>]

# Get run details
azdevops pipeline run-get --pipeline-id <id> --run-id <id> [--project <project>]

Work Items

# Get a work item
azdevops work-item get --id <id> [--project <project>] [--expand none|relations|fields|links|all]

# Create a work item
azdevops work-item create --type <type> --title <title> [--description <text>] [--assigned-to <name>] [--project <project>]

# Update a work item
azdevops work-item update --id <id> [--title <title>] [--state <state>] [--assigned-to <name>] [--description <text>] [--project <project>]

# Query work items (WIQL)
azdevops work-item query --wiql "<query>" [--top <n>] [--project <project>]

Output Formats

All commands support --format text|json (default: json) and --pretty for indented JSON.

  • JSON (default): Machine-readable, ideal for AI agents and piping
  • Text (--format text): Human-readable tables and detail views

Exit Codes

| Code | Meaning | |------|---------| | 0 | Success | | 1 | Error (details in stderr as JSON) |

AI Agent Usage

# List repos and parse with jq
azdevops repo list --project MyProject | jq '.[].name'

# Get work item details
azdevops work-item get --id 12345 --project MyProject | jq '.fields["System.Title"]'

# Query active bugs
azdevops work-item query --wiql "SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' AND [System.State] = 'Active'" --project MyProject

Development

git clone https://github.com/billpeet/azdevops-cli.git
cd azdevops-cli
npm install
npm run build
node bin/azdevops.js --help