0.1.0 • Published 6 years ago

koa-pep-validator v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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