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

xlan-code

v1.1.3

Published

XlanCode - Your intelligent coding companion (powered by OpenClaw ecosystem)

Downloads

1,726

Readme

XlanCode 🦞

小澜的代码助手 - 基于 OpenClaw 生态的智能编程助手

XlanCode 是一个功能完整的终端 AI 编程助手,支持接入任意 Anthropic 兼容 API(如 MiniMax、OpenRouter、阿里云百炼等)。


✨ 特性

  • 🎨 完整的 Ink TUI 交互界面 - 流畅的终端用户体验
  • 🚀 无头模式 - 支持 --print 模式用于脚本/CI 场景
  • 🔌 MCP 服务器支持 - 无缝集成 Model Context Protocol
  • 🧩 插件与 Skills - 可扩展的功能系统
  • 🤖 多 Agent 协作 - 支持团队模式和任务分配
  • 🔐 权限控制 - 细粒度的命令权限管理
  • 🌍 自定义 API - 支持任意 Anthropic 兼容端点

🚀 快速开始

1. 安装 Bun

# macOS / Linux
curl -fsSL https://bun.sh/install | bash

# Windows
powershell -c "irm bun.sh/install.ps1 | iex"

2. 安装依赖

bun install

3. 配置环境变量

cp .env.example .env

编辑 .env 文件:

# API 认证(二选一)
ANTHROPIC_API_KEY=sk-xxx
ANTHROPIC_AUTH_TOKEN=sk-xxx

# API 端点(可选,默认使用 Anthropic 官方)
ANTHROPIC_BASE_URL=https://api.minimaxi.com/anthropic

# 模型配置
ANTHROPIC_MODEL=claude-sonnet-4-20250514

4. 运行 XlanCode

# 使用 npm 全局安装(推荐)
bun link

# 或直接运行
bun run xlan

# 交互模式
./bin/xlan

# 无头模式
./bin/xlan --print "帮我写一个 Hello World"

📖 文档


🛠️ 开发

# 开发模式
bun run dev

# 运行测试
bun test

# 构建
bun run build

🌟 与 OpenClaw 集成

XlanCode 是 OpenClaw 生态的一部分,可以与以下工具配合使用:

  • OpenClaw Gateway - 消息网关和路由
  • PocketClaw - 移动端应用
  • ClawPilot - 自动化技能系统

📄 许可证

MIT License


🙏 致谢


Made with 🦞 by 小澜