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. da1ad6d Upgrade to jsep 1.4.0 (#16) by Mike Lay · 2 days ago main
  2. f74e91b fix: MIT license text in LICENSE files; lock files back in the archive (#15) by Zixuan Liu · 6 days ago v0.1.0-incubating-rc3
  3. 88e4f61 chore: headers on remaining dotfiles; lock files out of the source archive (#14) by Zixuan Liu · 7 days ago
  4. 99390e9 build: unified rollup pipeline with generation-time headers and per-file declarations (#13) by Zixuan Liu · 7 days ago
  5. 7690991 chore: uniform ASF license headers across sources and build outputs (#12) by Zixuan Liu · 12 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.