{"id":18715110,"url":"https://github.com/cerbos/cerbos-sdk-javascript","last_synced_at":"2025-04-12T16:38:36.287Z","repository":{"id":36959710,"uuid":"386584749","full_name":"cerbos/cerbos-sdk-javascript","owner":"cerbos","description":"JavaScript SDK for authorization via Cerbos","archived":false,"fork":false,"pushed_at":"2025-04-07T10:26:12.000Z","size":8397,"stargazers_count":75,"open_issues_count":5,"forks_count":10,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-12T01:45:38.327Z","etag":null,"topics":["authorization","browser","cerbos","javascript","node","typescript"],"latest_commit_sha":null,"homepage":"https://cerbos.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cerbos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"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}},"created_at":"2021-07-16T09:38:24.000Z","updated_at":"2025-04-07T10:26:16.000Z","dependencies_parsed_at":"2024-01-22T07:27:46.867Z","dependency_job_id":"7ae5bb76-5311-44bd-a31d-ad942a16d829","html_url":"https://github.com/cerbos/cerbos-sdk-javascript","commit_stats":{"total_commits":988,"total_committers":9,"mean_commits":"109.77777777777777","dds":"0.40283400809716596","last_synced_commit":"627c8630bfa892da8c2c0793bbc80b3b9aebabb1"},"previous_names":["cerbos/cerbos-sdk-node"],"tags_count":169,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-sdk-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-sdk-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-sdk-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fcerbos-sdk-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cerbos","download_url":"https://codeload.github.com/cerbos/cerbos-sdk-javascript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248597833,"owners_count":21130958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["authorization","browser","cerbos","javascript","node","typescript"],"created_at":"2024-11-07T13:07:36.238Z","updated_at":"2025-04-12T16:38:36.263Z","avatar_url":"https://github.com/cerbos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cerbos JavaScript SDK\n\n[Cerbos](https://cerbos.dev) helps you super-charge your authorization implementation by writing context-aware access control policies for your application resources.\nAuthor access rules using an intuitive YAML configuration language, use your Git-ops infrastructure to test and deploy them, and make simple API requests to the Cerbos policy decision point (PDP) server to evaluate the policies and make dynamic access decisions.\n\nThe Cerbos JavaScript SDK makes it easy to interact with the Cerbos PDP from your Node.js and browser-based applications.\n\n## Packages\n\nFor server-side Node.js applications, the [@cerbos/grpc](/packages/grpc/README.md) package provides a client ([`GRPC`](/docs/grpc.grpc.md)) for interacting with the Cerbos PDP service over gRPC.\n\nFor browser-based applications, the [@cerbos/http](/packages/http/README.md) package provides a client ([`HTTP`](/docs/http.http.md)) for interacting with the Cerbos PDP service over HTTP.\n\nYou can make also authorization decisions on-device or at the edge without network access to a Cerbos PDP service using [embedded PDPs](https://docs.cerbos.dev/cerbos-hub/decision-points-embedded) generated by [Cerbos Hub](https://hub.cerbos.cloud).\nThe [@cerbos/embedded](/packages/embedded/README.md) package provides a client ([`Embedded`](/docs/embedded.embedded.md)) for interacting with embedded PDPs.\n\nAll clients extend the base [`Client`](/docs/core.client.md) class from [@cerbos/core](/packages/core/README.md), so they can be used interchangeably in isomorphic applications.\n\nIn React applications, you can use the [@cerbos/react](/packages/react/README.md) package to use an [`HTTP`](/docs/http.http.md) or [`Embedded`](/docs/embedded.embedded.md) client in your components via hooks.\n\nTo instrument the clients with [OpenTelemetry](http://opentelemetry.io), use the [@cerbos/opentelemetry](/packages/opentelemetry/README.md) package.\n\nTo load Cerbos policies from YAML or JSON files, use the [@cerbos/files](/packages/files/README.md) package.\n\n## Further reading\n\n- [API reference](/docs/index.md)\n- [Cerbos documentation](https://docs.cerbos.dev)\n\n## Get help\n\n- [Join the Cerbos community on Slack](http://go.cerbos.io/slack)\n- [Email us at help@cerbos.dev](mailto:help@cerbos.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerbos%2Fcerbos-sdk-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcerbos%2Fcerbos-sdk-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerbos%2Fcerbos-sdk-javascript/lists"}