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.

14 lines (13 loc) 332 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fastifyV4Handler = (app) => new Promise((resolve, reject) => { app.ready((err) => { if (err) { reject(err); } else { resolve(app.routing); } }); }); exports.default = fastifyV4Handler;