UNPKG

lambda-request-handler

Version:

An npm module that allows your Node.js web applications to be deployed as an AWS Lambda function and invoked in response to API Gateway, HTTP API, or Application Load Balancer requests.

6 lines (5 loc) 254 B
import { RequestListener } from "http"; type Output = (options: object) => Promise<RequestListener>; type FastifyBuilder = (options: object) => any; declare const fastifyHandler: (fastifyBuilder: FastifyBuilder) => Output; export default fastifyHandler;