UNPKG

@vortex-js/core

Version:

A simple and powerful role-based access control (RBAC) middleware for Express.js, designed to be easy to use and integrate with your existing applications. It provides a flexible way to manage user permissions and roles, making it ideal for building secur

3 lines (2 loc) 162 B
import { NextFunction, Request, Response } from "express"; export declare const isAuthorized: (req: Request, res: Response, next: NextFunction) => Promise<void>;