apache/casbin-node-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 97
- Release rhythm 90
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 12
- age_days: 2971
- days_rel: 69
- days_push: 20
- n_releases_24m: 24
Adoption not part of the score
2916 stars · 230 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Node-Casbin is an open-source authorization library for Node.js and Browser that enforces access control based on configurable models such as ACL, RBAC, and ABAC. Policies can be stored in files or databases via adapters, and the same API is shared across Casbin implementations in many languages.
Use cases
- add role-based access control to a node.js api
- enforce permissions in an express application
- implement abac authorization policies in javascript
- manage user roles and permissions in a web app
- store authorization policies in a database
- share access control logic across node and browser
When to choose
- you need flexible, model-driven authorization (ACL, RBAC, ABAC) in Node.js or the browser
- you want policies persisted in files or many database backends via adapters
- you want consistent authorization behavior across multiple languages in your stack
When to avoid
- you only need simple authentication (login/identity) rather than authorization
- you want a fully managed, out-of-the-box authorization service with a UI
- you need features like filtered adapters or batch API that are not fully supported in the Node.js implementation
Facets
library · maturity stable
authorization auth middleware security backend web-development developer-tools browser cross-platform rbac abac acl access-control policy-enforcement casbin permissions nodejs typescript
10 sources
- readme: https://github.com/apache/casbin-node-casbin · fetched 2026-08-28 · 849f9ccf199d
- homepage: https://casbin.org · fetched 2026-08-29 · bf9a21b944e9
- site_page: https://casbin.apache.org/docs/category/storage · fetched 2026-08-29 · 36570671a14a
- site_page: https://casbin.apache.org/docs/adapters · fetched 2026-08-29 · cd140120068d
- site_page: https://casbin.apache.org/docs/downloads · fetched 2026-08-29 · 34577d2c2ff2
- site_page: https://casbin.apache.org/docs/get-started · fetched 2026-08-29 · 1cef184398ca
- site_page: https://casbin.apache.org/docs/category/access-control-models · fetched 2026-08-29 · 323b2c9c0a23
- site_page: https://casbin.apache.org/docs/overview · fetched 2026-08-29 · e6df9330fc66
- site_page: https://casbin.apache.org/docs/category/api · fetched 2026-08-29 · 4099ba1bb75f
- site_page: https://casbin.apache.org/docs/ide-plugins · fetched 2026-08-29 · 5a9e92f4f45a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apache/casbin-node-casbin | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="apache/casbin-node-casbin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem