0.0.4 • Published 5 years ago

fetch-lambda v0.0.4

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

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

0.0.4

5 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago