CASL VS node-casbin

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

CASL

CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access (by stalniy)

node-casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser (by casbin)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
CASL node-casbin
15 6
5,566 2,471
- 1.5%
8.7 5.6
8 days ago 14 days ago
JavaScript TypeScript
MIT License Apache License 2.0
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.

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.

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.

What are some alternatives?

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

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

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

reauth-nextjs

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

rbac - Hierarchical Role Based Access Control for NodeJS

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

bouncer - Laravel Eloquent roles and abilities.

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

solana-web3.js - Solana JavaScript SDK