New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lambda-middleware/utils

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lambda-middleware/utils

Utilities for use with AWS lambda middleware

1.0.4
latest
Source
npm
Version published
Weekly downloads
9.6K
51.44%
Maintainers
1
Weekly downloads
 
Created
Source

@lambda-middleware/utils

npm version downloads open issues debug build status codecov dependency status devDependency status

A collection of utilities for middleware for AWS lambda functions.

Lambda middleware

These utilities are part of the lambda middleware series. They can be used independently.

Production utils

promisifyHandler

Converts a handler that can either use a callback or return a Promise to a handler that is only Promise based.

PromiseHandler

This type is for a handler function that does not take a callback, but instead returns a promise for the response.

Test utils

createEvent

Creates an APIGatewayEvent for testing. Currently does not implement requestContext.

createContext

Creates an AWS Lambda Context for testing. Currently does not implement done, fail, getRemainingTimeInMillis and succeed.

Keywords

aws

FAQs

Package last updated on 12 Mar 2021

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