Skip to content

Repository files navigation

Servie Lambda

NPM versionNPM downloadsBuild statusTest 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";exportconsthandler=createHandler(compose([get("/test",req=>newResponse("hello world"))]));

TypeScript

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

License

Apache 2.0

About

Servie transport for AWS lambda proxy

Topics

Resources

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages