/Knowledge/sources/honojs__hono/llms-full/webassembly-w-wasi-hello-wasm--part-02--09a71473f88b.md
WebAssembly (w/ WASI): Hello Wasm (part 02) - hono-docs
WebAssembly (w/ WASI): Hello Wasm (part 02) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt 3 hello wa...
WebAssembly (w/ WASI): Hello Wasm (part 02)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#3-hello-wasm
Summary
## Content
```ts
import { Hono } from 'hono'
import { fire } from '@bytecodealliance/jco-std/wasi/0.2.6/http/adapters/hono/server'
const app = new Hono()
app.get('/hello', (c) => {
return c.json({ message: 'Hello from WebAssembly!' })
})
fire(app)
// Although we've called `fire()` with wasi HTTP configured for use above,
// we still need to actually export the `wasi:http/incoming-handler` interface object,
// as jco and componentize-js will be looking for the ES module export that matches the WASI interface.
export { incomingHandler } from '@bytecodealliance/jco-std/wasi/0.2.6/http/adapters/hono/server'
Metadata
{
"chunk_index": 1,
"citation": "https://hono.dev/llms-full.txt#3-hello-wasm",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / WebAssembly (w/ WASI) > 3. Hello Wasm (2)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 447,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "WebAssembly (w/ WASI): Hello Wasm (part 02)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}