This package has been deprecated

Author message:

For internal dev-purposes only. Don't use anymore

@marblejs/serverless
TypeScript icon, indicating that this package has built-in type declarations

2.3.0-dev.7 • Public • Published

Marble.js logo

@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

Package Sidebar

Install

npm i @marblejs/serverless

Weekly Downloads

1

Version

2.3.0-dev.7

License

MIT

Unpacked Size

17.9 kB

Total Files

23

Last publish

Collaborators

  • jflakus