az-access-control
Version:
A lightweight and flexible bitmask-based role access control library for React.js apps. Control both component visibility and route-level access using a simple 2ⁿ permission model — without the hassle of writing complex permission logic.
34 lines (33 loc) • 696 B
JSON
{
"name": "az-access-control",
"version": "1.0.5",
"description": "",
"main": "dist/index.js",
"scripts": {
"build": "babel src --out-dir dist --copy-files"
},
"types": "index.d.ts",
"keywords": [
"react",
"access-control",
"role-based",
"permissions",
"bitmask",
"conditional-rendering",
"protected-route",
"rbac"
],
"author": "Abdul Aziz",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.28.0",
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0",
"react-router-dom": ">=6.0.0"
}
}