CASL is an isomorphic authorization JavaScript library that restricts what resources a given user is allowed to access. It's designed to be incrementally adoptable and can easily scale between a simple claim-based and fully featured subject and attribute-based authorization. It makes it easy to manage and share permissions across UI components, API services, and database queries.
Features
- An incrementally adoptable and can easily scale between a simple claim based and fully featured subject and attribute based authorization
- Can be used on frontend and backend and complementary packages make integration with major Frontend Frameworks and Backend ORMs effortless
- Written in TypeScript, what makes your apps safer and developer experience more enjoyable
- The core is only 6KB mingzipped and can be even smaller
- Documentation available
- Thanks to declarative rules, you can serialize and share permissions between UI and API or microservices
Categories
RBACLicense
MIT LicenseFollow CASL
Other Useful Business Software
Go From AI Idea to AI App Fast
Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of CASL!