hoa
Build lightweight web servers and APIs for any JavaScript runtime
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install Hoa?โผ
Run `npx skills add hoa-js/hoa --all -g -y` in your terminal to install this skill globally for your coding agent.
What is the Hoa web framework?โผ
Hoa is a minimal, zero-dependency JavaScript web framework built on standard Fetch APIs, inspired by Koa and Hono. It lets you write middleware-based HTTP servers in about 4.4KB of code.
Which runtimes does Hoa support?โผ
The same Hoa code runs on Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge, and Node.js 20 or later with no changes.
Does Hoa include a built-in router?โผ
No. You branch on ctx.req.method and ctx.req.pathname directly, or add an official router middleware like @hoajs/router.
How do I handle errors in a Hoa app?โผ
Use ctx.throw(status, message) or ctx.assert(condition, status) to raise HTTP errors, and override app.onerror to customize the error response.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core