2.1.1 • Published 5 years ago

servie-lambda v2.1.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 years ago

Servie Lambda

NPM version NPM downloads Build status Test coverage

Servie transport for AWS lambda proxy.

Installation

npm install servie-lambda --save

Usage

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"))])
);

TypeScript

This project is written using TypeScript and publishes the definitions directly to NPM.

License

Apache 2.0

2.1.1

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago