1.0.0 • Published 11 months ago

akwaba-authorization v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Akwaba api Auth Middleware

An Express.js middleware for JWT-based authorization.

Installation

npm install github:Farafinah-Kanu/akwaba-auth

or

yarn add github:Farafinah-Kanu/akwaba-auth

How to use it

with esmodule

import { akwabaAuth } from 'akwaba-middleware';

or with commonjs

const { akwabaAuth } = require('akwaba-middleware');

and finally apply it to the route.