1.0.2 • Published 11 months ago

akwaba-auth-middleware v1.0.2

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 akwaba-auth-middleware

How to use it

npm install

or

yarn install

Then import it in your file you want to apply:

with esmodule

import authMiddleware from 'akwaba-auth-middleware'

or with commonjs

const authMiddleware = require('akwaba-auth-middleware')

and finally apply it to the route like a function.

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago