JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18645
  • Score
    100M100P100Q154063F
  • License MIT

Enables binary support in AWS API Gateway service.

Package Exports

  • serverless-apigw-binary

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-apigw-binary) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm version Build Status

serverless-apigw-binary

This Serverless plugin automates the process of adding binary files support in API Gateway. AWS API gateway binary support

Installation

npm install --save-dev serverless-apigw-binary

Configuration

serverless.yml:

plugins:
 - serverless-apigw-binary

custom:
  apigwBinary:
    types:           #list of mime-types
      - 'image/jpeg'
      - 'text/html'

Usage

serverless deploy    # Plugin runs within serverless deploy hook

Examples

Something missing? More documentation? All PRs welcome at https://github.com/maciejtreder/serverless-apigw-binary