An open API service indexing awesome lists of open source software.

https://github.com/yspreen/llrt-express

Tiny express-like library for AWS Lambda with LLRT
https://github.com/yspreen/llrt-express

Last synced: about 1 year ago
JSON representation

Tiny express-like library for AWS Lambda with LLRT

Awesome Lists containing this project

README

          

## Tiny express-like library for AWS Lambda with LLRT

Use like:

```ts
// lambda.ts
import {
APIGatewayProxyEvent,
APIGatewayProxyResult,
Context,
} from "aws-lambda";

import app from "./app";

// Your AWS Lambda handler
export const handler = async (
event: APIGatewayProxyEvent,
context: Context
): Promise => {
return app.getLambdaResponse(event, context);
};
```

```ts
// app.ts
import express, { NextFunction, Request, Response, Router } from "./express";

const app = express();

export default app;
```