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

chinchilla-llm-router

v0.3.1

Published

Installer + interactive setup wizard for llm-router (OpenAI v1-compatible LLM router). Downloads the Go binary for your platform and generates config.yaml + .env in a friendly terminal wizard.

Readme

chinchilla-llm-router

Installer for llm-router — an OpenAI v1-compatible LLM router with logical models, fallback/round-robin routing, and automatic rerouting.

This package is a zero-dependency Node.js bootstrap (Node ≥ 18). It downloads the prebuilt Go binary for your platform from GitHub Releases, verifies it (sha256), installs it under ~/.llm-router/, and generates config.yaml + .env for you. The router itself is a standalone Go binary — Node is only used to install and launch it.

Quick start

npx chinchilla-llm-router

Interactive wizard: server (host/port/auth) → credentials (OpenAI, local OpenAI-compatible, Azure) → logical models → defaults → writes config. Secrets go only to .env (chmod 600); config.yaml uses ${VAR} references.

Then:

npx chinchilla-llm-router run      # start the router in the background (returns immediately)
npx chinchilla-llm-router status   # is it running?
npx chinchilla-llm-router stop     # stop it
npx chinchilla-llm-router doctor   # check binary, config, running server
npx chinchilla-llm-router version  # installer + binary versions

run starts the router detached and returns as soon as /healthz answers; running it again restarts the server (reboot). run --foreground blocks the terminal instead (for debugging). A detached server logs JSON lines to ~/.llm-router/logs/llm-router.log.

Non-interactive (scripts / CI)

npx chinchilla-llm-router init \
  --cred vllm:local:http://192.168.18.200:1235/v1:sk-... \
  --model chat:chat:fallback:vllm:qwen3.8-27b \
  --port 8080 --auth

Commands

| Command | What it does | |---------|--------------| | setup (default) | Install the binary, then run the wizard | | install | Install the binary only (skips if present) | | init | Generate config — wizard or flags | | doctor | Check binary, config validity, running server | | run | Start the router detached (restarts it first if already running); --foreground blocks the terminal | | stop | Stop the detached router | | status | Show whether the detached router is running | | version | Print installer + installed binary versions |

Flags: --dir <dir> (install root), --version <v> (binary version), --force (reinstall), --foreground (with run). Environment: LLM_ROUTER_HOME, LLM_ROUTER_VERSION, LLM_ROUTER_RELEASE_BASE (self-hosted releases).

Supported: Linux and macOS, amd64 and arm64. Windows: use WSL or Docker.

Full documentation: https://github.com/DavidCastilloAlvarado/chinchilla-llm-router#installation