UNPKG

@rbac/rbac

Version:

Blazing Fast, Zero dependency, Hierarchical Role-Based Access Control for Node.js

84 lines (83 loc) 2.21 kB
{ "name": "@rbac/rbac", "version": "2.1.3", "description": "Blazing Fast, Zero dependency, Hierarchical Role-Based Access Control for Node.js", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", "import": "./lib/index.mjs", "require": "./lib/index.cjs", "default": "./lib/index.js" } }, "scripts": { "build": "tsc && vite build", "dev": "tsc -w", "examples": "node -r ts-node/register ./examples/index.ts", "test": "NODE_ENV=test jest --coverage", "test:watch": "NODE_ENV=test jest --watch", "test:npm": "cd test/npm-test && npm install && npm test", "bench": "node ./benchmarks/perf.js" }, "repository": { "type": "git", "url": "https://github.com/phellipeandrade/rbac.git" }, "keywords": [ "rbac", "authorization", "hierarchical", "privacy", "role", "security", "permission", "acl" ], "author": "Phellipe Andrade", "license": "MIT", "bugs": { "url": "https://github.com/phellipeandrade/rbac/issues" }, "homepage": "https://github.com/phellipeandrade/rbac", "devDependencies": { "@babel/cli": "^7.0.0-beta.51", "@babel/core": "^7.0.0-beta.51", "@babel/plugin-transform-runtime": "^7.0.0-rc.1", "@babel/preset-env": "^7.0.0-beta.51", "@babel/register": "^7.0.0-beta.51", "@babel/runtime": "^7.0.0-rc.1", "@types/express": "^5.0.3", "@types/jest": "^30.0.0", "@types/node": "^22.15.30", "accesscontrol": "^2.2.1", "asciichart": "^1.5.25", "babel-eslint": "^8.0.3", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-runtime": "6.23.0", "benny": "^3.7.1", "chai": "^4.1.2", "easy-rbac": "^4.0.0", "eslint": "^9.35.0", "fast-rbac": "^2.0.1", "jest": "^30.1.3", "jsdom": "^27.0.0", "jsdom-global": "3.0.2", "mocha": "^11.7.2", "rbac": "^5.0.3", "ts-jest": "^29.4.4", "ts-node": "^10.9.2", "typescript": "^5.8.3", "vite": "^6.3.5" }, "dependencies": { "zod": "^3.25.76" }, "overrides": { "undici-types": "^7.10.0" }, "resolutions": { "undici-types": "^7.10.0" } }