Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

koa-pep-validator

diego.morales1MIT0.1.0

middleware that validates the access token in the request

readme

koa-pep-validator

A Node.js package that exposes a koa middleware that authenticates the request token using the pep library

Usage

First, install the package using npm:

npm install koa-pep-validator --save

Then, require the package and use it like so:

const requestValidator = require('koa-pep-validator');

const app = new Koa();
app.use(requestValidator());

License

MIT