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

@240xu/trivium

v0.1.3

Published

trivium — three-protocol LLM router (Anthropic Messages / OpenAI Chat / Responses) with dual-surface console (TUI + Web)

Readme

@240xu/trivium

trivium — 三协议 LLM 路由中枢,带双界面控制台(TUI + Web)。

trivium:拉丁语 tri-(三)+ via(路),三条路交汇之处。

  • 协议路由:Anthropic Messages / OpenAI Chat Completions / OpenAI Responses 三协议互通(同协议直通透传,跨协议 IR 转换)
  • 双界面:TUI(ratatui)与 Web 控制台
  • 三端管理:OpenCode / Claude Code / Codex 的供应商配置、安装与升级
  • MCP / Skills / Projects / Prompts:统一 store + 非破坏式投影
  • 安全默认:所有写操作带 dry-run 预览、脱敏 diff、时间戳备份与回滚

安装

npm i -g @240xu/trivium
trivium --version
trivium              # 打开 TUI

xcc 与 spec 作为兼容别名保留,既有脚本与 runit 服务无需改动。

当前提供 Termux / Android aarch64 预编译二进制。其他平台请从源码构建: https://github.com/240xu/xu-rs(cargo build --release,产物 target/release/trivium)。

成本提醒

上游按模型独立计费,默认请只用便宜模型。不要用昂贵的 Opus / GPT 级模型作为 defaultModel。

License

MIT — https://github.com/240xu/xu-rs