@hayaijs/core
v0.0.0-alpha.8
Published
Blazing fast web framework for Bun.
Downloads
4
Maintainers
Readme
⚡ HayaiJS
- A web framework for Bun, Focused on Performance.
Hayai is a Japanese word meaning "fast" or "quick".
Installation
bun add @hayaijs/core
Documentation
Eco System
- HayaiJS uses
@hayaijs/router
which is built on top of@medley/router
but 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 init
and then install@hayaijs/core
usingbun 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