New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@funcmaticjs/event-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funcmaticjs/event-plugin

Performs some helpful formatting and normalization of the an AWS API Gateway Lambda Proxy Integration HTTP event.

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

event-plugin

Performs some helpful formatting and normalization of the an AWS API Gateway Lambda Proxy Integration HTTP event.

Install

$> npm install --save @funcmaticjs/event-plugin

Usage



Side Effects

event.queryStringParameters

If there are no query parameters AWS Lambda Proxy event will set this value to null. event-plugin will initilize this value to {}.

event.pathParameters

If there are no url path parameters, AWS Lambda Proxy event will set this value to null. event-plugin will initialize this value to {}

Normalize HTTP Headers

API Gateway HTTP header values are sent through as they are from the client. For example if the client sends Content-Type header. It's name will be Content-Type. If the client sends content-type, it's name will be content-type.

event-plugin uses the header-case-normalizer package to normalize all header values. So if the client sends content-type, it's name will be changed to Content-Type.

FAQs

Package last updated on 23 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts