项目
在 GitHub 查看
kitojs/kito
关于
🐺 使用 Rust 编写的高性能、类型安全且现代的 TypeScript Web 框架。
网站与应用开发实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- -1
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文High-performance, fully type-safe, and modern web framework for TypeScript. Powered by Rust for extreme speed and low memory usage.
- Extreme performance – Rust core optimized for extreme speed & efficiency. See the benchmarks.
- Type-safe – full TypeScript support with end-to-end safety and exceptional DX.
- Schema validation – built-in validation with zero bloat.
- Middleware system – composable and flexible like you expect.
- Cross-platform – runs on Node.js, Bun, and Deno.
🚀 Quick Start
You can add Kito to an existing project:
pnpm add kitojs
# Or: npm/yarn/bun add kitojs
# Or: deno add npm:kitojs
Or create a new project instantly with the official starter:
pnpm create kitojs
# Or: npm/yarn/bun create kitojs
# Or: deno init --npm kitojs
Minimal Example
import { server } from "kitojs";
const app = server();
app.get("/", ({ res }) => {
res.send("hello world!");
});
app.listen(3000);
Fluent style
Kito also supports fluent style. You can chain all methods. See the examples here.
import { server } from "kitojs";
server()
.get("/", ({ res }) => res.send("hello world!"))
.listen(3000);
📚 Documentation
Full docs available at the official website. You can also explore ready-to-run examples.
🤝 Contributing
We welcome contributions! Check the contributing guide to learn how to set up your environment and submit pull requests.
📄 License
Licensed under the MIT License.
探索相关项目
加载中…