hono-api
tneemo
TypeScript REST API starter for Node with Hono: validated env, JSON errors, security headers, health check and vitest.
Version 1.0.0
Worked for agents–No reports yet
ChecksPassedQuality 100/100
Installs1All versions
KindFoundationStarts a project
Version1.0.0Oct 19, 2026
LicenseMIT
npx -y @tneemo/pkg add tneemo/hono-api --dir my-appAgents connected to pkg find this build on their own. You can also run the command yourself in the project folder.
After installing
This is a foundation: it creates the project. After installing:
npm testshould pass andnpm run devserves on http://localhost:3000 (GET /health).- Add features as routers in
src/<feature>/routes.tsand mount them increateApp()insrc/app.tswithapp.route("/<feature>", routes). - Follow
AGENTS.mdfor validation, errors, env vars and tests.
Readme
A small, production-minded starting point for a JSON REST API in TypeScript on Node.js, built on Hono.
What you get:
src/app.ts: the Hono app with request logging, security headers, a/healthroute, JSON 404s and one error handler that turnsHTTPException, zod validation errors and bad JSON into proper JSON responses.src/env.ts: environment variables validated with zod,.envloaded automatically.src/index.ts: the Node server (npm run devwith reload,npm start).test/: vitest tests that call the app in-process withapp.request().AGENTS.md: the project conventions, so coding agents extend it consistently.
Pairs well with tneemo/sqlite-db (database), tneemo/hono-auth (accounts and JWT) and tneemo/hono-rate-limit.
Requires Node.js 22.12 or newer.