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

unqroute

v0.1.1

Published

UnQRoute — Unified AI router with 160+ providers, RTK+Caveman compression, auto fallback, MCP/A2A, desktop, PWA, and OpenAI-compatible APIs. Forked from OmniRoute with Z.ai Web (GLM-5.2) integration.

Readme

🚀 UnQRoute — The Free AI Gateway

Never stop coding. Connect every AI tool to 237 providers — 90+ free — through one endpoint.

Plug Claude Code, Codex, Cursor, Cline, Copilot & Antigravity into FREE Claude / GPT / Gemini. Auto-fallback.

Includes Z.ai Web (GLM-5.2) integration with token-pool architecture for 99.999%+ success rate.

RTK + Caveman compression saves 15–95% tokens. Never hit limits.

Forked from OmniRoute. Rebranded as UnQRoute with custom Z.ai Web (GLM-5.2) provider integration.

📦 Install: npm install -g unqroute · Then run: unqroute

🧩 Available CLI commands

unqroute                    # Start the server (alias: unqroute serve)
unqroute serve              # Start server with options
unqroute setup              # Interactive setup wizard
unqroute status             # Show server status
unqroute providers          # List providers
unqroute --help             # Show all commands

🌐 Quick API usage

# Once server is running on http://localhost:20128
curl http://localhost:20128/v1/chat/completions \
  -H "Authorization: Bearer <your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai/glm-5.2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

What's New in UnQRoute

This fork adds a Z.ai Web (GLM-5.2) provider (zai-web / alias zai) that uses chat.z.ai's reverse-engineered internal API to expose GLM-5.2 as an OpenAI-compatible LLM via user JWT cookies.

Architecture:

  • Token pool of N user JWTs stored in provider_connections (provider="zai-web")
  • On each request, executor picks the best healthy token, signs the request with HMAC-SHA256 (hard-coded secret cracked from chat.z.ai's JS bundle), and POSTs to /api/v2/chat/completions
  • If response contains FRONTEND_CAPTCHA_REQUIRED (Aliyun slider captcha, triggered per-request by server-side risk scoring), the token is put in 30-min cooldown and the next token is tried
  • With N tokens, success rate = 1 - 0.2^N (assuming ~80% per-token success)
  • For 99.999% success, import 25+ tokens via dashboard bulk-import

To use:

  1. Create 25+ Z.ai accounts at chat.z.ai (email/Google signup)
  2. For each account: login → DevTools → Application → Cookies → copy token value
  3. Bulk-import all tokens via UnQRoute dashboard → Providers → "Z.ai Web (GLM-5.2)" → bulk-import
  4. Call the API with model: "zai/glm-5.2"

Backward Compatibility

  • ~/.omniroute/ data directory is still detected and used if it exists (existing OmniRoute users keep their data on upgrade)
  • The omniroute CLI command is still installed as an alias for unqroute
  • All OMNIROUTE_* environment variables continue to work

License

MIT — same as upstream OmniRoute