Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lambda-custom-authorizer-middleware

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambda-custom-authorizer-middleware - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

package.json
{
"name": "lambda-custom-authorizer-middleware",
"version": "1.0.0",
"version": "1.0.1",
"description": "Adds support of custom lambda authorizers for local offline usage, e.g. with serverless-offlin",

@@ -11,2 +11,3 @@ "files": [

"build": "rm -rf lib/ && babel src --out-dir lib --ignore test.js",
"coverage": "jest --coverage",
"docs": "documentation readme src/index.js --section API --shallow --github",

@@ -45,5 +46,6 @@ "lint": "eslint . --fix --format=./node_modules/eslint-formatter-pretty",

"offline",
"api",
"gateway",
"aws"
"aws",
"api gateway",
"aws-serverless-express",
"serverless-offline"
],

@@ -50,0 +52,0 @@ "author": "Vlad Holubiev",

26

README.md

@@ -5,2 +5,5 @@ # AWS Lambda Local Middleware

[![npm](https://img.shields.io/npm/v/lambda-custom-authorizer-middleware.svg?maxAge=2592000)](https://www.npmjs.com/package/lambda-custom-authorizer-middleware)
[![npm](https://img.shields.io/npm/dm/lambda-custom-authorizer-middleware.svg?maxAge=2592000)](https://github.com/vladgolubev/lambda-custom-authorizer-middleware)
## Purpose

@@ -45,3 +48,3 @@

[src/index.js:36-78](https://github.com/vladgolubev/lambda-custom-authorizer-middleware/blob/a53b31eba50e2721d173dec77f593122f0bdf72f/src/index.js#L36-L78 "Source code on GitHub")
[src/index.js:36-78](https://github.com/vladgolubev/lambda-custom-authorizer-middleware/blob/aea423ba64bb861c8d4c62a2760577e0e7d39cea/src/index.js#L36-L78 "Source code on GitHub")

@@ -88,2 +91,11 @@ Express middleware function constructor to execute local lambda function

### Debug
This package uses [debug](https://github.com/visionmedia/debug) library,
so set environment variable like that to see the logs.
```sh
DEBUG=lambda-custom-authorizer-middleware:*
```
### Lint

@@ -106,1 +118,13 @@

```
### Tests
```sh
$ yarn test
```
### Coverage
```sh
$ yarn coverage
```
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