FindSoftware

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

Current major version
78
Last release
2026-10-319

Adoption

GitHub stars
7,1112
npm downloads a week
2,640,55911
Contributors
7310
Dependent repositories
4,78712
Dependent packages
24312

Why these figures do not compare

Sources

  1. 2026-11-04: links
    casl.js.org/
  2. 2026-11-04: links, Written in, License, GitHub stars
    api.github.com/repos/stalniy/casl
  3. 2026-11-04: links
    stalniy.github.io/casl/v7/en/guide/intro
  4. 2026-11-04: Maintainer, License model
    raw.githubusercontent.com/stalniy/casl/main/LICENSE
  5. 2026-11-04: Categories, Databases
    raw.githubusercontent.com/stalniy/casl/main/README.md
  6. 2026-11-04: Runtime, Install with
    stalniy.github.io/casl/v7/en/guide/install
  7. 2026-11-04: First release
    api.github.com/repos/stalniy/casl/commits/v0.2.0
  8. 2026-11-04: Current major version
    registry.npmjs.org/@casl%2fability/latest
  9. 2026-11-04: Last release
    api.github.com/repos/stalniy/casl/releases
  10. 2026-11-04: Contributors
    api.github.com/repos/stalniy/casl/contributors?per_page=1
  11. 2026-11-04: npm downloads a week
    api.npmjs.org/downloads/range/2026-10-26:2026-11-01/@casl/ability
  12. 2026-11-04: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40casl%2Fability

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON