# CASL

JavaScript authorization library that defines what a given user may access, for browsers and Node.js.


Source: https://findsoftware.frbit.cloud/casl/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://casl.js.org/
- repository: https://github.com/stalniy/casl
- docs: https://stalniy.github.io/casl/v7/en/guide/intro
- forum: https://github.com/stalniy/casl/discussions

### Identity

- status: active
- maintainer: Sergii Stotskyi
- maintainerType: individual
- parent: unknown
- firstRelease: 2017
- hqCountry: unknown

### Kind

- category: auth
- hosting: node
- language: javascript
- runtime: node
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: mongodb
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: npm, yarn or pnpm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 7
- latestReleaseDate: 2026-10-31

### Adoption

- githubStargazers: 7111
- packagistDownloads: not applicable
- npmWeeklyDownloads: 2640559
- contributors: 73
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 4787
- dependentPackages: 243

### Sources

- urls: https://casl.js.org/ (read 2026-11-04)
- urls: https://api.github.com/repos/stalniy/casl (read 2026-11-04)
- urls: https://stalniy.github.io/casl/v7/en/guide/intro (read 2026-11-04)
- maintainer: https://raw.githubusercontent.com/stalniy/casl/main/LICENSE (read 2026-11-04)
- language: https://api.github.com/repos/stalniy/casl (read 2026-11-04)
- category: https://raw.githubusercontent.com/stalniy/casl/main/README.md (read 2026-11-04)
- runtime: https://stalniy.github.io/casl/v7/en/guide/install (read 2026-11-04)
- installMethod: https://stalniy.github.io/casl/v7/en/guide/install (read 2026-11-04)
- installMethod: https://stalniy.github.io/casl/v7/en/guide/install (read 2026-11-04)
- databases: https://raw.githubusercontent.com/stalniy/casl/main/README.md (read 2026-11-04)
- license: https://api.github.com/repos/stalniy/casl (read 2026-11-04)
- licenseModel: https://raw.githubusercontent.com/stalniy/casl/main/LICENSE (read 2026-11-04)
- firstRelease: https://api.github.com/repos/stalniy/casl/commits/v0.2.0 (read 2026-11-04)
- currentMajor: https://registry.npmjs.org/@casl%2fability/latest (read 2026-11-04)
- latestReleaseDate: https://api.github.com/repos/stalniy/casl/releases (read 2026-11-04)
- githubStargazers: https://api.github.com/repos/stalniy/casl (read 2026-11-04)
- contributors: https://api.github.com/repos/stalniy/casl/contributors?per_page=1 (read 2026-11-04)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-10-26:2026-11-01/@casl/ability (read 2026-11-04)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40casl%2Fability (read 2026-11-04)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40casl%2Fability (read 2026-11-04)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
