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

@antseed/provider-irp-router

v0.1.0

Published

Routing provider for Antseed that serves any Inference Routing Protocol (IRP) router as an irp-suggest routing service

Readme

@antseed/provider-irp-router

Serves an Inference Routing Protocol (IRP) router on Antseed as an irp-suggest routing service. It is one routing provider plugin among others and has no special status: buyers pick routers the same way they pick any service.

The plugin forwards the two IRP suggest-only endpoints to your router unchanged:

  • GET /v1/routing/models: free; the models the router can rank.
  • POST /v1/routing/rank: billed as one completed_requests unit per well-formed ranking that names a candidate the buyer sent. Errors and malformed rankings are not billed.

Malformed rank requests are answered locally with IRP problem details and never reach the router. An unreachable router answers 503 urn:irp:problem:unavailable.

Run it

antseed config seller add-provider router --plugin irp-router --base-url https://router.example.com
antseed config seller add-service router my-router --input 0 --output 0
IRP_ROUTER_API_KEY=<key> IRP_ROUTER_PRICE_USD=0.001 antseed seller start

--base-url sets IRP_ROUTER_BASE_URL, and the service you add becomes ANTSEED_ALLOWED_SERVICES.

IRP paths name no service, so a seller offers at most one irp-suggest service.

Configuration

| Key | Default | Description | |-----|---------|-------------| | IRP_ROUTER_BASE_URL | -- | Upstream IRP router base URL (required) | | IRP_ROUTER_API_KEY | -- | Sent as Authorization: Bearer <key> | | ANTSEED_ALLOWED_SERVICES | -- | Routing service id; exactly one (required) | | IRP_ROUTER_PRICE_USD | 0 | USD per ranking; 0 makes rankings free | | IRP_ROUTER_TIMEOUT_MS | 30000 | Upstream timeout | | ANTSEED_MAX_CONCURRENCY | 50 | Max concurrent routing requests |