Huge News!Announcing our $40M Series B led by Abstract Ventures.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
  • Socket score

Version published
Weekly downloads
8.7K
decreased by-21.14%
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc