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

llmgate

v1.5.0

Published

A small CLI entrypoint for routing LLM workflows.

Downloads

70

Readme

llmgate

llmgate configures Claude Code to use a LiteLLM-compatible gateway.

Run the setup wizard without installing it first:

npx llmgate

Print a non-interactive status report that can be copied into an issue or support request:

npx llmgate status

Run status without contacting the configured gateway:

npx llmgate status --local

Requires Node.js 20.19.0 or newer.

The wizard:

  • shows what it will inspect before reading local configuration;
  • checks the current Claude Code setup after you approve read-only diagnostics;
  • validates the gateway token by listing models from the LiteLLM-compatible gateway;
  • lets you select a model from the gateway response;
  • shows an apply plan with masked secret values before making changes;
  • writes terminal, Claude Code user settings, and detected VS Code/Cursor settings;
  • creates backups before file writes, reports backup paths, and reruns diagnostics before reporting success.

Supported targets:

  • macOS and Linux shell rc files for zsh, bash, and fish;
  • Windows user environment variables;
  • Claude Code user settings at ~/.claude/settings.json;
  • VS Code and Cursor user settings when their config directories already exist.

What llmgate reads and writes

Interactive setup asks before reading local configuration. If you continue, llmgate may inspect:

  • Claude Code user settings at ~/.claude/settings.json;
  • your detected shell profile or Windows user environment variables;
  • VS Code and Cursor user settings paths;
  • project Claude settings under ./.claude/;
  • the current process environment;
  • claude --version output.

If existing gateway credentials are found, setup and llmgate status may contact the configured gateway to list models and send a tiny ping model test request. Tokens are sent only to the configured gateway and are masked in output. Use llmgate status --local for a read-only local report with no gateway network checks.

No files or environment variables are changed until you approve the final apply plan. File writes create .llmgate.bak backups when replacing existing files and print the backup paths. Windows user environment updates do not have a file backup; the apply plan shows old and new values instead.

Use fake tokens in examples and replace the placeholder gateway with your own LiteLLM-compatible gateway URL.

Local development:

npm install
npm run dev

Check, typecheck, and test:

npm run check
npm run typecheck
npm test

Build the distributable CLI:

npm run build

Publishing

Publishing is handled by GitLab CI.

Merge requests run checks, typechecks, tests, and a build. Default-branch pushes compute the next version from conventional commits, publish the package to npm, and create a GitLab release.