Zero dependencies
No runtime dependencies at all. ~38 KB min+gzip for the main entry, 20 KB for the /relations subpath — nothing extra in your lockfile, nothing extra in the process that makes your access decisions.
Bundle size
Cerbos-style RBAC + ABAC policies, Zanzibar-inspired ReBAC relations and Cerbos-compatible query plans — zero dependencies, no server to deploy, ~38 KB min+gzip.
A Kerberos.js decision is a function call inside your process and takes about a microsecond. A policy server answers over the network instead. The chart runs the same checks in Kerberos.js, five JavaScript authorization libraries, OPA and Cerbos, all on one machine. Every library is first checked to reach the same allow and deny decisions.
Method, cold start, bundle size and the raw numbers →
Using Kerberos.js in production? Open a PR to add your logo.