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

@statewavedev/connectors-azure-devops

v0.1.0

Published

Azure DevOps connector for Statewave — pull requests, comments, reviews, work items

Downloads

254

Readme

@statewavedev/connectors-azure-devops

Azure DevOps connector for Statewave — turns pull requests, comments, reviews, and work items into normalized episodes under repo:<organization>/<project>/<repository>.

Part of the Statewave Connectors ecosystem.

What it ingests

| Source event | Episode kind | |---|---| | Pull request opened (active) | azure.pr.opened | | Pull request abandoned | azure.pr.closed | | Pull request completed (merged) | azure.pr.merged | | PR thread comment | azure.pr.comment | | PR reviewer vote | azure.pr.review | | Work item created | azure.workitem.created | | Work item closed | azure.workitem.closed |

Example episode

{
  "subject": "repo:acme/platform/widgets",
  "kind": "azure.pr.merged",
  "text": "Linus T merged PR !100: Add MCP server\n\nimplements the skeleton",
  "occurred_at": "2026-01-03T00:00:00.000Z",
  "source": { "type": "azure.pull_request", "id": "acme/platform/widgets#100", "url": "https://dev.azure.com/acme/platform/_git/widgets/pullrequest/100" },
  "metadata": { "pr_id": 100, "author": "Linus T", "status": "completed", "merged": true }
}

Run statewave-connectors sync azure-devops --repo acme/platform/widgets --dry-run --json to see this exact shape.

Quickstart

statewave-connectors sync azure-devops \
  --repo myorg/myproject/myrepo \
  --dry-run

The repo argument is a three-part organization/project/repository spec (a two-part spec is rejected).

AZURE_DEVOPS_PAT carries a Personal Access Token. It is sent via HTTP Basic auth (empty username, PAT as password) and is only read by this connector. For on-prem Azure DevOps Server, pass --base-url https://your-host/tfs (defaults to https://dev.azure.com).

Required PAT scopes

| Data | Scope | |---|---| | Pull requests, comments, reviews | Code (Read) | | Work items | Work Items (Read) |

Caveats

  • No per-vote review timestamp. Azure DevOps does not expose a timestamp for an individual reviewer vote, so azure.pr.review episodes use the PR's closedDate (falling back to creationDate) as occurred_at.
  • Reviewer votes map as: 10 → approved, 5 → approved with suggestions, -5 → waiting for author, -10 → rejected. A vote of 0 (no response) produces no review episode.
  • System-generated PR thread comments (commentType: "system") are skipped.

See the connector docs for detail: https://github.com/smaramwbc/statewave-docs/blob/main/connectors/azure-devops.md.

Status

v0.1.0 preview. Mapping + WIQL flow unit-tested. The bad-auth path is live-confirmed (anonymous requests get an HTML sign-in redirect → auth_failed), but the PR / comment / reviewer-vote / work-item shapes are not yet live-verified — they need a real Azure DevOps organization + PAT (scopes Code:Read, Work Items:Read) before this leaves preview. See docs/forge-connectors-smoke-report.md and RELEASE_NOTES.md.