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

jax-hono

v2.0.1

Published

Lightweight framework layer on top of Hono, built for Bun

Readme

Jax-hono

Jax 是本项目的轻量框架层。完整说明见 docs/jax.md

版本变更和升级说明见 CHANGELOG.md

给 Codex、Claude 等代码代理看的维护说明见 docs/agent.md

维护 Jax 内部代码时按目录职责放置文件:

core/       Hono runtime、生命周期、Controller/Service
middleware/ 框架中间件
plugins/    插件定义、内置插件配置、内置插件实现
build/      代码生成/扫描注册
helpers/    框架辅助函数
utils/      纯工具函数
errors/     统一错误类型
types/      框架公共类型

.jax-hono 目录只存在于调用项目中,不放在 jax-hono 包内,也不会从包内链接到某个项目。

需要 bun --compile 的项目可以用 setup 包裹 Bun 构建命令:

bun node_modules/jax-hono/setup.ts src/index.ts -- bun build src/index.ts --compile --production --target=bun-windows-x64 --outfile dist/app.exe

setup 会在执行命令期间临时把入口里对 jax-hono 的导入切到项目生成入口,命令结束后恢复源码。业务入口仍然写:

import { createApp } from 'jax-hono';
import { config } from './config';

const app = createApp({ config });