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

302cc

v1.0.0

Published

Claude Code 302.AI 配置工具 - 简化 302.AI API 配置流程

Readme


✨ 功能特性 | Features

  • 🚀 一键配置 - 快速配置 Claude Code 使用 302.AI API
  • 🌐 双语支持 - 支持中文和英文界面
  • 🔄 多节点切换 - 支持国际节点和国内节点
  • 🤖 多模型支持 - 支持多种 AI 模型选择
  • 💾 配置管理 - 保存、修改、清空配置

📦 安装使用 | Installation

方式一:直接运行(推荐)

npx 302cc

方式二:全局安装

npm install -g 302cc
302cc

🎯 快速开始 | Quick Start

首次使用

运行 npx 302cc 后,按照引导完成配置:

  1. 选择语言 - 中文 / English
  2. 输入 API Key - 输入您的 302.AI API Key
  3. 选择模型 - 选择要使用的 AI 模型
  4. 选择节点 - 国际节点 / 国内节点
  5. 确认应用 - 将配置应用到 Claude Code

主菜单功能

1. 配置 API Key      - 设置或更新 API Key
2. 配置 API 节点     - 切换国际/国内节点
3. 配置模型          - 选择 AI 模型
4. 配置界面语言      - 切换中文/英文
5. 清空当前配置      - 重置所有配置
6. 应用配置并退出    - 保存配置到 Claude Code
7. 直接退出          - 退出程序

🌐 API 节点 | API Endpoints

| 节点 | 地址 | 适用场景 | |------|------|----------| | 国际节点 | api.302.ai | 海外用户 | | 国内节点 | api.302ai.cn | 中国大陆用户 |


🤖 支持的模型 | Supported Models

  • Claude Sonnet 4.5
  • Claude Opus 4.5
  • CC Sonnet 4.5
  • CC Opus 4.5
  • GLM for Coding
  • Kimi for Coding
  • MiniMax for Coding
  • GPT 5.2
  • 自定义模型...

📁 配置文件位置 | Configuration Files

| 系统 | 302cc 配置 | Claude Code 配置 | |------|------------|------------------| | Windows | %USERPROFILE%\.302cc\config.json | %USERPROFILE%\.claude\settings.json | | macOS/Linux | ~/.302cc/config.json | ~/.claude/settings.json |


🔧 系统要求 | Requirements

  • Node.js >= 18.0.0
  • Claude Code 已安装

📄 许可证 | License

MIT


🔗 相关链接 | Links