Skip to content

hoa-js/hoa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NPM version Build status Codecov Bundle Size Dependencies License

Hoa is a minimal Web framework inspired by Koa and Hono, built entirely on Web Standards. It runs seamlessly on any modern JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge, and Node.js.

Features

  • โšก Minimal - Only ~4.4KB (gzipped).
  • ๐Ÿšซ Zero Dependencies - Built on modern Web Standards with no external dependencies.
  • ๐Ÿ› ๏ธ Highly Extensible - Features a flexible extension and middleware system.
  • ๐Ÿ˜Š Standards-Based - Designed entirely around modern Web Standard APIs.
  • ๐ŸŒ Multi-Runtime - The same code runs on Cloudflare Workers, Deno, Bun, Node.js, and more.
  • โœ… 100% Tested โ€“ Backed by a full-coverage automated test suite.

Installation

npm i hoa --save

Quick Start

import { Hoa } from 'hoa'
const app = new Hoa()

app.use(async (ctx, next) => {
  ctx.res.body = 'Hello, Hoa!'
})

export default app

Documentation

The documentation is available on hoa-js.com

Contributing

Contributions Welcome! You can contribute in the following ways.

  • Create an Issue - Propose a new feature. Report a bug.
  • Pull Request - Fix a bug and typo. Refactor the code.
  • Create third-party middleware.
  • Share your thoughts on the Blog, X, and others.
  • Make your application.

License

Distributed under the MIT License.

About

A minimal web framework built on Web Standards ๐Ÿš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published