
CASL
JavaScript authorization library that defines what a given user may access, for browsers and Node.js.
CASL is a JavaScript authorization library that decides what a given user may access. Its core package runs in browsers and in Node.js, according to the install page, and it installs with npm, Yarn or pnpm. For prototypes the install page also gives a route that loads the package from the esm.sh CDN.
Official integrations for React, Vue and Angular, and for Prisma and Mongoose, ship as separate packages. The Mongoose package is the one the README names for MongoDB.
Identity
- Status
- Active
- Maintainer
- Sergii Stotskyi4
- Maintained by
- Individual
- First release
- 20177
Rendering and deploy
- Install with
- npm, yarn or pnpm6
Releases
Adoption
Sources
- 2026-11-04: links
casl.js.org/ - 2026-11-04: links, Written in, License, GitHub stars
api.github.com/repos/stalniy/casl - 2026-11-04: links
stalniy.github.io/casl/v7/en/guide/intro - 2026-11-04: Maintainer, License model
raw.githubusercontent.com/stalniy/casl/main/LICENSE - 2026-11-04: Categories, Databases
raw.githubusercontent.com/stalniy/casl/main/README.md - 2026-11-04: Runtime, Install with
stalniy.github.io/casl/v7/en/guide/install - 2026-11-04: First release
api.github.com/repos/stalniy/casl/commits/v0.2.0 - 2026-11-04: Current major version
registry.npmjs.org/@casl%2fability/latest - 2026-11-04: Last release
api.github.com/repos/stalniy/casl/releases - 2026-11-04: Contributors
api.github.com/repos/stalniy/casl/contributors?per_page=1 - 2026-11-04: npm downloads a week
api.npmjs.org/downloads/range/2026-10-26:2026-11-01/@casl/ability - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40casl%2Fability