Skip to content
aws-lambda / 0.2.3

aws-lambda 0.2.3

Install from the command line:
Learn more about npm packages
$ npm install @curveball/aws-lambda@0.2.3
Install via package.json:
"@curveball/aws-lambda": "0.2.3"

About this version

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/core';
import handler from '@curveball/aws-lambda';

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

exports.handler = handler(app);

Details


Assets

  • aws-lambda-0.2.3.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all