FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
pomdtr

pomdtr

hono-utils

Utilities for working with hono on val.town
Public
Like
1
hono-utils
Home
Code
4
static
2
README.md
H
example.ts
mod.ts
Branches
1
Pull requests
Remixes
1
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
example.ts
https://pomdtr--a31581ce0ee711f0892b569c3dd06744.web.val.run
README.md

Hono Utils

Serving Static Files

Create val
import { Hono } from "jsr:@hono/hono@4.7.5" import { serveStatic } from "https://esm.town/v/pomdtr/hono-utils/mod.ts" const app = new Hono() app.use("*", serveStatic({ // alway use import.meta.resolve instead of a relative path root: import.meta.resolve("./static") })) export default app.fetch
HTTP
  • example.ts
    pomdtr--a3…44.web.val.run
Code
staticREADME.md
H
example.ts
mod.ts
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.