1.0.4 • Published 10 months ago
akwaba-auth v1.0.4
Akwaba api Auth Middleware
An Express.js middleware for JWT-based authorization.
Installation
npm install akwaba-auth
How to use it
npm install
or
yarn install
Then import it in your file you want to apply:
with esmodule
import { akwabaAuth } from 'akwaba-auth';
or with commonjs
const { akwabaAuth } = require('akwaba-auth');
and finally apply it to the route.