0.1.0 • Published 2 years ago

access-middleware v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Access Control Middleware

A small library that check for allowed routes

Installation

npm install @fortunate-dev/access-middleware

Usage

const accessControl = require('@fortunate-dev/access-middleware');

const isAllowed = accessControl("/v1/permissions");

Output should be true

Tests

npm test

0.1.0

2 years ago