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

@hexanexus/nexus-switch

v1.3.0

Published

Cross-platform terminal launcher/router for Claude Code across OpenRouter, Groq, Ollama and LiteLLM providers.

Downloads

2,142

Readme

            ╭────────────────────╮
            │   N E X U S        ├─●
        ╭───┼────────────────╮   ├─●
      ●─┤   ╰────────────────┼───╯
      ●─┤    S W I T C H     │
        ╰────────────────────╯
        HexaNexus  ·  AI Model Router

npm version CI License: MIT Node >= 18 Platform

Route Claude Code across 8 AI providers — free tiers first, one command.


Nexus Switch is a terminal launcher and router for Claude Code. It sets the right environment for each provider, optionally starts a local LiteLLM proxy, and hands the terminal to claude — no global config, no profile edits.

Nexus Switch is not affiliated with Anthropic. It launches the claude CLI you install yourself.

Install

npm i -g @hexanexus/nexus-switch
nexus doctor          # verify claude, keys, and proxy are ready

Requires: Node.js ≥ 18 and @anthropic-ai/claude-code.

Quick start

nexus                 # interactive TUI — pick provider and model
nexus groq            # launch directly on Groq (free tier)
nexus ollama          # local or cloud Ollama model
nexus openrouter      # OpenRouter free-tier models

Providers

| Provider | Free tier | Account | Notes | |---|---|---|---| | Groq | ✅ rate-limited | Required | nexus key set groq <key> | | Gemini | ✅ generous | Required (Google) | nexus key set gemini <key> | | Mistral | ✅ experimental | Required | nexus key set mistral <key> | | Cerebras | ✅ ~1M tok/day | Required | nexus key set cerebras <key> | | NVIDIA NIM | ✅ 1000 credits | Required | nexus key set nvidia <key> | | OpenRouter | ✅ 50 req/day | Required | nexus key set openrouter <key> | | Ollama local | ✅ unlimited | None | ollama pull <model> | | Ollama cloud | ✅ quota | Required | ollama signin | | Anthropic | ❌ paid | Required | nexus key set anthropic <key> |

The TUI shows each model's tier clearly:

  • GRATUIT (green) — truly free, no account needed
  • COMPTE (yellow) — free but requires a provider account
  • PAYANT (gray) — billed per token

Commands

nexus                             # interactive TUI (provider → model → launch)
nexus <provider> [model] [flags]  # direct launch, e.g. nexus groq llama-3.3-70b-versatile
nexus key set <provider> <key>    # save a provider API key
nexus key list                    # list configured keys (masked)
nexus key delete <provider>       # remove a key
nexus doctor                      # check claude CLI, keys, and proxy status
nexus credits                     # show remaining credits/quota per provider
nexus refresh                     # sync the model catalog from provider APIs
nexus proxy start                 # start the LiteLLM proxy (auto-started on need)
nexus proxy stop                  # stop the proxy
nexus update                      # update nexus-switch to the latest release
nexus uninstall                   # uninstall

Documentation

Legal

Nexus Switch is an independent open-source project, not affiliated with or endorsed by Anthropic, Google, Mistral, or any other provider. "Claude" and "Claude Code" are trademarks of Anthropic, PBC, referenced here solely to describe interoperability. Nexus Switch does not bundle or redistribute Claude Code — it launches the claude CLI you install separately. You are responsible for complying with each provider's terms of service. See NOTICE.

License

MIT — see LICENSE.