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

@wiselaw-ai/provider-catalog

v0.1.5

Published

WiseLaw provider catalog — verified provider endpoints + model metadata, distributed as a pure-JSON npm data package

Readme

@wiselaw-ai/provider-catalog

WiseLaw provider catalog — a pure-JSON data package: verified AI provider endpoints (Anthropic-messages / OpenAI-responses / chat-completions) plus curated model metadata (context limits, per-MTok pricing) snapshotted from models.dev.

Subscription-only products such as Kimi Code and GLM Coding Plan omit metered token prices and may carry explicit model metadata when their request model IDs do not exist in models.dev.

The npm artifact contains no executable code — only catalog.json and its schema.json. Consumers fetch the latest published version at runtime, so the catalog updates by npm publish alone, decoupled from any software release.

Contents

  • catalog.json — the catalog (see schema.json for the JSON Schema)
  • schema.json — generated from the zod source of truth (src/types.ts)

baseUrl convention

Each endpoint's baseUrl is the base to which a fixed per-protocol suffix yields the wire URL:

| protocol | wire URL | harness usage | | --- | --- | --- | | messages | baseUrl + /v1/messages | Claude Code: ANTHROPIC_BASE_URL=baseUrl | | responses | baseUrl + /v1/responses | Codex: base_url = baseUrl + "/v1", wire_api = "responses" | | chat-completions | baseUrl + /chat/completions | Codex: base_url = baseUrl, wire_api = "chat" |

Maintenance (monorepo)

  • src/overrides.json — hand-maintained layer: provider list, verified endpoints (verifiedAt per endpoint), and either a models.dev whitelist or explicit subscription-product models
  • bun run refresh — pulls models.dev, merges whitelisted model metadata, validates, rewrites catalog.json/schema.json, bumps the patch version
  • publish with npm publish --access public; roll back bad data by moving the latest dist-tag, never by unpublishing

Live verification

Put credentials in the monorepo root .env.local; the file is ignored by Git. Use one variable per catalog provider:

VERIFY_KEY_KIMI_CODE=
VERIFY_KEY_ZHIPUAI=
VERIFY_KEY_ALIBABA_CN=
VERIFY_KEY_OPENROUTER=
VERIFY_KEY_MINIMAX=

From apps/provider-catalog, verify both layers:

# Every published protocol with one known model
bun --env-file=../../.env.local src/verify-endpoints.ts \
  kimi-code zhipuai alibaba-cn openrouter

# Every model through one preferred verified protocol
bun --env-file=../../.env.local src/verify-models.ts \
  kimi-code zhipuai alibaba-cn openrouter

An endpoint receives a new verifiedAt date only after a minimal authenticated request succeeds. A model is published only after its exact request ID also succeeds. The scripts never print keys and redact them from provider errors. VERIFY_KEY_MOONSHOTAI remains an accepted local fallback for the renamed kimi-code product preset, so existing ignored env files continue to work.

Kimi credentials require special care:

  • api.kimi.com/coding is the Kimi Code membership product, not an overseas alias for the Open Platform.
  • China Open Platform uses api.moonshot.cn; international Open Platform uses api.moonshot.ai. Accounts, balances, and keys are region-isolated.
  • Only protocols represented by verified endpoint entries are published.

Official references: