Create FasterCreate Faster
Deploy

AWS Lambda

Serverless deployment adapter for Hono with Lambda-compatible handler export.

Supported frameworks
Dependencies

→ AWS Lambda Documentation

What create-faster adds

Modified files:

  • src/index.ts - Conditionally exports Lambda handler instead of raw app

When enabled:

import { handle } from 'hono/aws-lambda';
import app from './app';

export const handler = handle(app);  // Lambda entry point

When disabled:

import app from './app';

export default app;  // Standard Node.js server

The handle adapter transforms Lambda events to Hono requests and Hono responses to Lambda responses. The handler export is the Lambda function entry point.

On this page