@marblejs/serverless
AWS Lambda serverless proxy for Marble.js. Based on work of @mflorence99.
Installation
$ npm i @marblejs/serverless-aws-lambda
Requires @marblejs/core
to be installed.
Documentation
For the latest updates, documentation, change log, and release information visit docs.marblejs.com and follow @marble_js on Twitter.
Usage
import { createLambda, ProxyType } from '@marblejs/severless';
import httpListener from './httpListener';
export = createLambda({
httpListener, // Your app goes here
type: ProxyType.AWS, // Currently we support only AWS Lambda with API Gateway
proxyOptions: { // Optional configuration for specified ProxyType
binaryMimeTypes: ['application/octet-stream'],
},
});
License: MIT