fetch-lambda

0.0.4 • Public • Published

fetch-lambda

fetch for lambda bypassing api gateway

  • only aws-lambda supported for now
  • doesn't fully support fetch only the basics
  • only a string body is supported

The payload sent and received from lambda assumes the api gateway format.

Only multiValueHeaders and multiValueQueryStringParameters are supported.

js-standard-style Greenkeeper badge build status downloads

usage

const fetch = require('fetch-lambda')
 
fetch('aws-lambda://function:version/path', fetchOptions)
 
// if no :version is given then the latest lambda is invoked.

license

Apache License, Version 2.0

/fetch-lambda/

    Package Sidebar

    Install

    npm i fetch-lambda

    Weekly Downloads

    5

    Version

    0.0.4

    License

    Apache-2.0

    Unpacked Size

    4.16 kB

    Total Files

    3

    Last publish

    Collaborators

    • jameskyburz