node-casbin VS CASL

Compare node-casbin vs CASL 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)

CASL

CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access (by stalniy)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
node-casbin CASL
6 15
2,471 5,566
1.3% -
5.6 8.7
9 days ago 3 days 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.

CASL

Posts with mentions or reviews of CASL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-14.

What are some alternatives?

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

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

reauth-nextjs

casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN

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

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

rbac - Hierarchical Role Based Access Control for NodeJS

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

bouncer - Laravel Eloquent roles and abilities.

solana-web3.js - Solana JavaScript SDK