0.5.0 • Published 2 years ago

@curveball/aws-lambda v0.5.0

Weekly downloads
4
License
MIT
Repository
github
Last release
2 years ago

Curveball AWS Lamba Handler

AWS lambda bindings for curveball. Go 'serverless' with Curveball.

Installation

npm install @curveball/aws-lambda

If you're using typescript, you will also want the types package for aws-lambda:

npm install -D @types/aws-lambda

Getting started

After you've constructed your curveball Application as usual, you can simply use the aws-lambda package to convert it to a 'handler' that Lambda supports:

import { Application } from '@curveball/kernel';
import handler from '@curveball/aws-lambda';

const app = new Application();
app.use(ctx => {
  ctx.response.body = 'hello world';
});

exports.handler = handler(app);
0.5.0

2 years ago

0.3.0

3 years ago

0.2.3

3 years ago

0.4.0

3 years ago

0.2.2

4 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.1.1

5 years ago

0.0.1

6 years ago