Public API reference
The reference below is generated from the TypeScript source with TypeDoc on every documentation build. Use it for complete signatures, types, and adapter options. The guides provide implementation context and executable examples.
| Import path | Exports |
|---|---|
@rbac/core | createRBAC, RBACOptions, RBACEngine, role and condition types |
@rbac/core/helpers | callbackWhen and other core helpers |
@rbac/adapters | createTenantRBAC, RoleAdapter, MongoRoleAdapter, MySQLRoleAdapter, PostgresRoleAdapter |
@rbac/express | createExpressMiddleware and associated types |
@rbac/fastify | createFastifyMiddleware and associated types |
@rbac/nestjs | createNestMiddleware, createNestGuard and associated types |
@rbac/schemas | whenSchema, roleOperationSchema, roleSchema, rolesSchema |
Browse the generated entries under this API sidebar or start at the TypeDoc reference.