@hayaijs/core
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-alpha.8 • Public • Published

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 using bun 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

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @hayaijs/core

Weekly Downloads

0

Version

0.0.0-alpha.8

License

none

Unpacked Size

19.1 kB

Total Files

6

Last publish

Collaborators

  • gaurishh