hirehub-middleware-version

hirehub-middleware-version is a middleware package for Node.js that simplifies JWT (JSON Web Token) authentication and role-based access control. This package is designed to be used in web applications that require secure access management, particularly for multi-role environments like admin, interviewer, and interviewee.

Features

  • JWT Verification: Easily authenticate users by verifying JWT tokens.
  • Role-Based Middleware: Implement role-based access control (RBAC) to protect specific routes based on user roles.
  • Plug-and-Play: Simple and flexible API that can be integrated with Express.js and other Node.js frameworks.

Installation

You can install the package via npm:

npm install hirehub-middleware-version