Have ideas to improve npm?Join in the discussion! »

    serverless-apigw-binary

    0.4.4 • Public • Published

    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

    Install

    npm i serverless-apigw-binary

    DownloadsWeekly Downloads

    27,891

    Version

    0.4.4

    License

    MIT

    Last publish

    Collaborators

    • avatar