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

@leoomao/claude-code-router

v2.0.4

Published

CLI for Claude Code Router

Readme

Claude Code Router

一款强大的工具,可将 Claude Code 请求路由到不同的模型,并自定义任何请求

基于 musistudio/claude-code-router v2.0.2版本的分支,主要用来merge pr 和 fixed bug。

| 中文 |原项目-英文|原项目-中文

🚀 快速开始

#安装claude code
# macOS, Linux, WSL:
curl -fsSL https://claude.ai/install.sh | bash
# Windows PowerShell:
irm https://claude.ai/install.ps1 | iex
# Windows CMD:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

# 如果安装过原项目请先备份下配置文件
cp -r ~/.claude-code-router/config.json  config.json-backup-to-update-20260520

#卸载原项目
npm uninstall -g @musistudio/claude-code-router

#再安装 claude-code-router
npm install -g @leoomao/claude-code-router

创建 ~/.claude-code-router/config.json,启动:

ccr code

变更记录

v2.0.1

feat: 为供应商列表新增了复制按钮、操作按钮悬浮显示

feat: 供应商列表新增测试按钮,选择模型后通过最小化 chat completion 请求验证模型是否可用(max_tokens: 1)

feat: 编辑供应商新增获取可用模型列表的功能,方便用户快速选择模型 供应商获取模型测试状态

feat:路由配置页新增快速填充功能-"应用全部"按钮,选择默认模型后可一键覆盖所有场景(后台、思考、长上下文、网络搜索、图像)

feat:添加 Mistral、Codex、Chrome 设备端提供商;修复 Gemini/DeepSeek 流媒体播放和推理问题; #pr-1393

fix: 修复了调用小米 mimo模型报400 reasoning_content的问题 ; 查看reasoning_content修复文档添加相关配置

fix:优化了~/.claude-code-router/config.json 文件的权限 #pr-1399

📚 文档