@hayaijs/core
v0.0.0-alpha.8
Published
Blazing fast web framework for Bun.
Downloads
11
Maintainers
Readme
⚡ HayaiJS
- A web framework for Bun, Focused on Performance.
Hayai is a Japanese word meaning "fast" or "quick".
Installation
bun add @hayaijs/coreDocumentation
Eco System
- HayaiJS uses
@hayaijs/routerwhich is built on top of@medley/routerbut with changes. - HayaiJS currently doesn't support plugins, but will do so soon.
State
- I'm a college student and i have my exams on my head, So i will not be able to complete this project alone, But i will definetly try ;)
License
- This project is licensed under the MIT License, Read LICENSE file for more details
Benchmarks
- Benchmarks can be found here
Simple Usage
- Bootstrap a new project using
bun initand then install@hayaijs/coreusingbun add @hayaijs/core
import { Hayai } from '@hayaijs/core';
const app = new Hayai();
app.get('/', (req, res) => {
res.send('Hello World!');
});
app.listen(3000);- Run the server using
bun run index.ts
