node-casbin VS node-rbac

Compare node-casbin vs node-rbac and see what are their differences.

node-casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser (by casbin)

node-rbac

Examples of RBAC implementations in Node.js (by aserto-demo)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
node-casbin node-rbac
6 1
2,480 10
1.9% -
5.6 0.0
20 days ago about 2 years ago
TypeScript JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

node-casbin

Posts with mentions or reviews of node-casbin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-03.

node-rbac

Posts with mentions or reviews of node-rbac. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-03.
  • Building RBAC in Node
    7 projects | dev.to | 3 Feb 2022
    The code examples shown below can be found in this repository. To run each of them, navigate to the corresponding directory and run yarn install followed by yarn start.

What are some alternatives?

When comparing node-casbin and node-rbac you can also consider the following projects:

CASL - CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access

accesscontrol - Role and Attribute based Access Control for Node.js

oso - Oso is a batteries-included framework for building authorization in your application.

reauth-nextjs

rbac - Hierarchical Role Based Access Control for NodeJS

nexus-shield - 🛡 Nexus plugin to ease the creation of the authorization layer

objection-authorize - isomorphic, "magical" authorization integration with Objection.js 🎉

solana-web3.js - Solana JavaScript SDK

sqlx-adapter - Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs

pycasbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Python