lambda-custom-authorizer-middleware
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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", |
@@ -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 | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14083
127