Abac-engine: Lean zero-dep ABAC PDP at 9.37 µs with minimal PAP UI

2 points by astralstriker 2 days ago

First launch of the ABAC stack I've been running in prod:

*abac-engine (PDP)*: Zero deps, ~4KB gzipped. 9.37 µs warm checks on 100 policies — 26% faster than CASL (6KB, 11.8 µs), 4x faster than Casbin (89KB, 42 µs). PolicyCache handles Vercel cold starts seamlessly.

*@devcraft-ts suite (PAP)*: Minimal admin UI layer — modular React hooks + ShadCN components for policy management/visual builder. No bloat, just what you need.

One-liner: `npm i abac-engine @devcraft-ts/abac-admin-react-ui`

Live docs: https://abac-admin-02-nextjs-app-router.vercel.app/docs Core PDP: https://github.com/astralstriker/abac-engine PAP suite: https://github.com/devcraft-ts

Thoughts on the perf edge over CASL/Casbin? Missing PDP features?