hono-firebase-functions
v0.0.4
Published
Run Hono apps on Firebase Functions using a simple adapter that bridges Firebase’s HTTP layer with Hono’s fetch API.
Downloads
350
Maintainers
Readme
hono-firebase-functions
Firebase Hono Adapter
hono-firebase-functions is an adapter that allows you to run a Hono application on Firebase Functions by bridging Firebase's HTTP request/response to Hono's fetch API pipeline.
Installation
npm install hono firebase-functions hono-firebase-functionsimport {onRequest} from "firebase-functions/v2/https";
import {handle} from "hono-firebase-functions";
import {Hono} from "hono";
const app = new Hono();
app.get("/", (c) => {
return c.text("Hello Hono!");
});
export const hono = onRequest(handle(app));