Apache Casbin Node Extensions: storage adapters, watchers, framework middlewares, and utilities for Node.js - the monorepo for the node-casbin ecosystem.

Clone this repo:
  1. 7690991 chore: uniform ASF license headers across sources and build outputs (#12) by Zixuan Liu · 7 hours ago main
  2. c3de426 fix: restore expression-eval four-format build, repair redis-adapter entry points (#11) by Zixuan Liu · 18 hours ago
  3. 8ccd2df chore: Apache-2.0 license headers everywhere + CI header gate (#10) by Zixuan Liu · 31 hours ago
  4. 2337929 fix: ship the canonical Apache-2.0 LICENSE in every package tarball (#9) by Zixuan Liu · 2 days ago
  5. 31309b3 chore: release-artifact hygiene - NOTICE/DISCLAIMER per package, clean source archive (#8) by Zixuan Liu · 2 days ago

Apache Casbin Node Extensions

Monorepo for the Apache Casbin Node.js extensions: storage adapters, watchers, framework middlewares, and utilities. Each package keeps its own npm package name and semantic version.

Layout

packages/
├── adapters/       # storage adapters (file, redis, sequelize, typeorm, ...)
├── watchers/       # multi-instance policy synchronization
├── middlewares/    # framework integrations (express, koa, egg, nest, hapi)
├── role-managers/  # role managers (session-based)
└── utils/          # shared utilities
examples/           # runnable examples (not published to npm)

Development

Requires pnpm.

pnpm install
pnpm -r build
pnpm -r test

Import history

Packages were imported from their original repositories with full git history preserved (authors, dates, tags) via git filter-repo --to-subdirectory-filter, with tags renamed to <package>-<version>.

License

Apache License 2.0. See LICENSE and NOTICE.