honojs

node-server

Node.js Server for Hono

by honojs

TypeScript

TypeScript93%
JavaScript7%
HTML0%

Commit activity

Last 12 weeks · 23 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · Last activity 3d ago
See all on GitHub →
vansh917917

Summary This PR adds TSDoc / JSDoc comments to public exports and options that currently lack annotations: and in in in , , and fields in in This improves IDE autocomplete, hover tooltips, and developer experience when importing from . Validation passed passed passed passed passed

vansh917917 · 22h ago
vansh917917

What Adds terminal help examples for and in and registers them via in . Also adds test coverage for , , and examples in . Why Commands like , , and display practical examples in their output, while and the newly added command did not include example usage. This provides consistent CLI documentation across all primary commands. How to test

vansh917917 · 23h ago
vansh917917

Summary The WHATWG Fetch standard and modern Node.js versions (v22+) include on and instances. While is being addressed in #423 for #422, faced the same issue on 's lightweight request object: calling threw: Changes Add to in . Implement with to return a without unnecessary allocations. Delegate to with an fallback when a native request cache exists. Add regression tests in covering direct reads, stream reads, empty GET requests, and rejected subsequent reads. Validation passed passed passed passed passed (all 16 test suites, 592 tests)

vansh917917 · 23h ago
sarankumar1325

Fixes #413 When a handler returns a native (for example with ) whose body errors during the early read in , the error was logged and treated as the end of the body. The listener then set to whatever had been read so far and ended the response, so the client got a complete with an empty body (or a truncated one, if a chunk had been read before the error). Now an error from the early read is passed to , the same handler the streaming paths use. Since no head has been sent yet, the client gets a instead of a complete success. Tests Two new cases in , using a native : the body errors before its first chunk; the body enqueues a chunk and then errors, both inside the early read. Both fail on (status ) and pass with this change. (505 tests), , and all pass. I used an AI assistant to help write this change and checked the result myself.

sarankumar1325 · 3d ago
Structured data for AI agents

Repository: honojs/node-server. Description: Node.js Server for Hono Stars: 687, Forks: 121. Primary language: TypeScript. Languages: TypeScript (93%), JavaScript (7%), HTML (0%). License: MIT. Homepage: https://hono.dev Topics: hono, http-server, nodejs, server. Latest release: v2.1.8 (3d ago). Open PRs: 19, open issues: 30. Last activity: 3d ago. Community health: 37%. Top contributors: yusukebe, usualoma, BlankParticle, tangye1234, tavvy, Jayllyz, GavinMeierSonos, mgcrea, nakasyou, otnc and others.