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

@koishi-ce/koishi

v1.0.7

Published

Cross-Platform Chatbot Framework Made with Love

Readme

@koishi-ce/koishi

简体中文 | English

Koishi 的社区再发行版(Community Edition)主包与命令行宿主,来自 Koishi-CE/koishi——将上游 koishijs/koishikoishijs/webui 合并重构的单一 Bun workspace 单仓库。本包入口与上游 koishi 主包同构:合并再导出 @koishi-ce/core@koishi-ce/loader,并内置 koishi 命令与守护进程。

命令名保持为 koishi,与上游用法一致。本项目与 Koishijs 官方组织无从属关系,感谢原作者 Shigma 及所有上游贡献者,相关声明见 NOTICEdocs/process/upstream.md

安装与启动

npm install -g @koishi-ce/koishi
koishi start

更推荐用脚手架创建完整项目(自带控制台、市场与热重载配置):

bunx create-koishi-ce my-app

命令行

| 命令 | 说明 | | --- | --- | | koishi start [file](别名 run) | 启动应用,file 为配置文件路径 |

选项:

| 选项 | 默认值 | 说明 | | --- | --- | --- | | --debug [namespace] | - | 开启调试日志,可限定命名空间 | | --log-level [level] | 2 | 日志等级 | | --log-time [format] | - | 日志时间戳格式 |

不带子命令运行 koishi 时输出帮助。

守护进程机制

koishi start 是守护父进程:以 Bun.spawn 拉起工作进程并保持 IPC 心跳,心跳超时强制终止。退出码约定:51 = 工作进程请求整体重启(配置文件或框架依赖变更),52 = 请求退出。工作进程内由 loader 读取配置、预检服务器端口(被占则干净退出)、创建应用并挂载 daemon 插件。

编程式用法

import { App, defineConfig, NodeLoader } from "@koishi-ce/koishi";

koishi / @koishijs/core / @koishijs/loader 三个上游名的兼容由 @koishi-ce/koishi-shim 以 npm alias 承担,社区插件无需改动即可在 CE 项目中运行,详见 packages/shim/README.md

许可证

MIT。本包是上游 koishijs/koishi 的社区再分发,版权归属见 NOTICE


English

The Community Edition main package and CLI host of Koishi, from Koishi-CE/koishi — a single Bun-workspace monorepo merging the upstream koishijs/koishi and koishijs/webui. Its entry mirrors the upstream koishi package: a merged re-export of @koishi-ce/core and @koishi-ce/loader, plus the koishi command and a daemon. Not affiliated with the Koishijs organization; see NOTICE and docs/process/upstream.md.

Installation

npm install -g @koishi-ce/koishi
koishi start

Or scaffold a full project (console, market and HMR preconfigured):

bunx create-koishi-ce my-app

CLI

koishi start [file] (alias run) starts the app, with options --debug [namespace], --log-level [level] (default 2) and --log-time [format]. Running koishi without a subcommand prints help.

The start command is a daemon parent: it spawns the worker via Bun.spawn with IPC heartbeats. Exit code 51 asks for a full restart, 52 asks to quit. The worker reads the config through the loader, prechecks server ports, creates the app and mounts the daemon plugin.

Programmatic usage

import { App, defineConfig, NodeLoader } from "@koishi-ce/koishi";

Compatibility with the upstream names koishi / @koishijs/core / @koishijs/loader is provided by @koishi-ce/koishi-shim via npm aliases, so community plugins run unmodified in CE projects — see packages/shim/README.md.

License

MIT. Community redistribution of upstream koishijs/koishi; see NOTICE for attribution.