{"id":28250773,"url":"https://github.com/tkachenko0/rolebaker","last_synced_at":"2026-02-15T09:12:33.943Z","repository":{"id":278941875,"uuid":"929804520","full_name":"tkachenko0/RoleBaker","owner":"tkachenko0","description":"TypeScript-safe and framework-agnostic, Attribute-Based Access Control library for managing permissions with effortless documentation generation.","archived":false,"fork":false,"pushed_at":"2025-06-29T13:02:07.000Z","size":397,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T09:07:13.829Z","etag":null,"topics":["abac","access","access-control","auth","authorization","permissions","rbac","role-based-access-control"],"latest_commit_sha":null,"homepage":"https://role-baker.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkachenko0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-09T12:54:54.000Z","updated_at":"2025-09-04T17:08:32.000Z","dependencies_parsed_at":"2025-06-29T13:39:11.067Z","dependency_job_id":"ffc7cca6-c3d7-41bc-9518-f212f8d6c33b","html_url":"https://github.com/tkachenko0/RoleBaker","commit_stats":null,"previous_names":["tkachenko0/rolebaker"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/tkachenko0/RoleBaker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkachenko0%2FRoleBaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkachenko0%2FRoleBaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkachenko0%2FRoleBaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkachenko0%2FRoleBaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkachenko0","download_url":"https://codeload.github.com/tkachenko0/RoleBaker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkachenko0%2FRoleBaker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29474427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abac","access","access-control","auth","authorization","permissions","rbac","role-based-access-control"],"created_at":"2025-05-19T14:18:59.052Z","updated_at":"2026-02-15T09:12:33.910Z","avatar_url":"https://github.com/tkachenko0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RoleBaker\n\nI’ve spent countless hours digging through code, tracing permissions, and trying to figure out who can do what, only to end up frustrated. That’s why I built this library, to take the guesswork out of access control by providing a structured way to define and enforce permissions while automatically generating clear documentation for role-based rules.\n\n**RoleBaker** is a flexible library for handling **Attribute-Based Access Control (ABAC)** with type safety in a **framework-agnostic** way. It simplifies managing user permissions and generating automatic documentation, providing a clear and structured approach to handling user roles and resource actions.\n\n## Pros\n\n- **🔒 Type-Safe Access Control** – Prevent runtime errors with strongly typed roles and actions.\n- **📚 Auto-Generated Documentation** – Easily generate clear documentation for roles and permissions.\n- **🌍 Framework-Agnostic** – Works seamlessly with any JavaScript/TypeScript framework.\n- **⚖️ Single \u0026 Multi-Role Support** – Supports both single-role users and multi-role configurations.\n- **🛡️ Attribute-Based Access Control (ABAC)** – Define permissions based on roles and dynamic attributes.\n- **🔄 Flexible Permission Logic** – Supports both simple boolean checks and complex function-based rules.\n- **✅ Highly Tested** – Ensures reliability and stability with comprehensive test coverage.\n\n---\n\n## 📦 Installation\n\nTo install RoleBaker, you can use npm or yarn:\n\n```bash\nnpm install rolebaker\n```\n\nor\n\n```bash\nyarn add rolebaker\n```\n\n---\n\n## **📝 Usage \u0026 Documentation**\n\nFind usage examples for **single-role** and **multi-role** models in the official documentation:\n\n🔗 [RoleBaker Documentation](https://role-baker.vercel.app/)\n\n\n![Doc Image](./images/doc-image.png)\n\n### **📖 Framework-Specific Guides**\n\n- **React** → [Guide](https://role-baker.vercel.app/frameworks/react)\n- **Angular** → [Guide](https://role-baker.vercel.app/frameworks/angular)\n- **Express** → [Guide](https://role-baker.vercel.app/frameworks/express)\n- **Other frameworks** → [Guide](https://role-baker.vercel.app/frameworks/other)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkachenko0%2Frolebaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkachenko0%2Frolebaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkachenko0%2Frolebaker/lists"}