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

65 lines (64 loc) 1.84 kB
{ "name": "@vortex-js/core", "version": "0.6.2", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "type": "module", "repository": "https://github.com/kemora13conf/vortex-js-core.git", "author": "Abdelghani El Mouak <abdelghanielmouak@gmail.com>", "license": "MIT", "publishConfig": { "access": "public" }, "description": "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 secure APIs.", "keywords": [ "express", "api", "framework", "rbac", "role-based-access-control", "postman", "typescript" ], "scripts": { "start": "node --loader @swc/node/esm --no-warnings ./src/index.ts", "dev": "nodemon", "clean": "rimraf dist", "build": "yarn run clean && tsc", "prepublishOnly": "yarn run build", "lint": "eslint . --ext .ts,.js", "lint:fix": "eslint . --ext .ts,.js --fix", "publish:npm": "yarn run build && npm publish --access public" }, "devDependencies": { "@eslint/css": "^0.7.0", "@eslint/js": "^9.25.1", "@swc-node/register": "^1.10.10", "@swc/cli": "^0.7.3", "@swc/core": "^1.11.22", "@types/express": "^5.0.1", "@types/node": "^22.15.2", "@types/uuid": "^9.0.8", "eslint": "^9.25.1", "globals": "^16.0.0", "nodemon": "^3.1.10", "rimraf": "^5.0.5", "typescript": "^5.8.3", "typescript-eslint": "^8.31.0" }, "dependencies": { "@swc/helpers": "^0.5.17", "express": "^5.1.0", "path-to-regexp": "^8.2.0", "uuid": "^11.1.0" }, "peerDependencies": { "express": "^4.0.0 || ^5.0.0" }, "engines": { "node": ">=18.0.0" } }