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

leishen-ai

v0.1.54

Published

LeiShen CLI:一键配置 Claude Code / Codex 到 ls.xingchentech.asia

Readme

LeiShen CLI

一键配置本机的 Claude Code 与 Codex,使其连接到 https://ls.xingchentech.asia

使用方式

npx leishen-ai

运行后按提示输入一次 API Key(cr_ 开头),再选择要配置的工具(Claude / Codex)。 如选择 Codex,会自动检查 codex 命令是否存在;未安装时可一键安装(已安装会自动跳过)。

工具选择改为数字菜单(更适合新手操作):

  • 1:Codex
  • 2:Claude Code
  • 3:Codex + Claude Code

如果安装 Codex / Claude CLI 时网络较慢(可选),可临时使用淘宝 npm 源:

npm install -g @openai/codex --registry=https://registry.npmmirror.com
npm install -g @anthropic-ai/claude-code --registry=https://registry.npmmirror.com

配置完成后脚本会自动写入(覆盖前会生成 .bak 备份):

  • ~/.claude/config.json(Claude Code)
  • ~/.codex/config.toml~/.codex/auth.json(Codex)
  • ~/.codex/.env(Codex 会自动加载,用于避免 CRS_OAI_KEY 偶发缺失)
  • 常用 shell 的环境变量设置(或 Windows 用户环境变量)

Windows 选择 Codex 时,会额外提供一个可选步骤:

  • 自动扫描 openai.chatgpt-* 插件目录并定位 index-*.js
  • 仅在识别到 DEFAULT_MODEL_ORDER 时才修改,且会先创建 .backup 备份
  • gpt-5.3-codex 调整为默认模型顺序第一位

维护与发布流程见:docs/leishen-cli.md 的“打包与发布流程”章节。