Servie transport for AWS lambda proxy.
npm install amz-lambda-tool --save
Wrap a standard Servie middleware function in createHandler
to return a AWS Lambda handler.
import { createHandler } from "servie-lambda";
import { compose } from "throwback";
import { get } from "servie-route";
export const handler = createHandler(
compose([get("/test", req => new Response("hello world"))])
);
This project is written using TypeScript and publishes the definitions directly to NPM.
Apache 2.0