{"id":29142391,"url":"https://github.com/bufbuild/cel-es","last_synced_at":"2025-06-30T19:37:36.870Z","repository":{"id":291072566,"uuid":"657701926","full_name":"bufbuild/cel-es","owner":"bufbuild","description":"Common Expression Language for ECMAScript","archived":false,"fork":false,"pushed_at":"2025-06-25T19:19:57.000Z","size":1807,"stargazers_count":10,"open_issues_count":10,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-25T19:25:41.648Z","etag":null,"topics":["cel","common-expression-language","javascript","protobuf","protocol-buffers","typescript"],"latest_commit_sha":null,"homepage":"","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/bufbuild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/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":"2023-06-23T16:34:21.000Z","updated_at":"2025-06-25T19:13:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"32bf8b84-fe91-44ef-8e51-46c720073ab3","html_url":"https://github.com/bufbuild/cel-es","commit_stats":null,"previous_names":["bufbuild/cel-es"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bufbuild/cel-es","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fcel-es","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fcel-es/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fcel-es/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fcel-es/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufbuild","download_url":"https://codeload.github.com/bufbuild/cel-es/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufbuild%2Fcel-es/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262839751,"owners_count":23372780,"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":["cel","common-expression-language","javascript","protobuf","protocol-buffers","typescript"],"created_at":"2025-06-30T19:37:28.924Z","updated_at":"2025-06-30T19:37:36.854Z","avatar_url":"https://github.com/bufbuild.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![The Buf logo](.github/buf-logo.svg)][buf]\n\n# CEL-ES\n\n[![License](https://img.shields.io/github/license/bufbuild/cel-es?color=blue)](./LICENSE) [![NPM Version](https://img.shields.io/npm/v/@bufbuild/cel/latest?color=green\u0026label=%40bufbuild%2Fcel)](https://www.npmjs.com/package/@bufbuild/cel) [![NPM Version](https://img.shields.io/npm/v/@bufbuild/cel-spec/latest?color=green\u0026label=%40bufbuild%2Fcel-spec)](https://www.npmjs.com/package/@bufbuild/cel-spec)\n\nAn implementation of [Common Expression Language (CEL)][cel] for ECMAScript.\n\n## Example\n\nLet's create a CEL environment, and define the variable `name`:\n\n```ts\nimport { createEnv } from \"@bufbuild/cel\";\nimport { createRegistry } from \"@bufbuild/protobuf\";\n\nconst env = createEnv(\"\", createRegistry());\nenv.set(\"name\", \"tacocat\");\n```\n\nThat's it. The environment is ready to be used for parsing and evaluation.\n\nTo parse and evaluate an expression, call `run`:\n\n```ts\nenv.run(`\n  name.startsWith('taco')\n`); // true\n```\n\n\n## Packages\n\n- [@bufbuild/cel](https://www.npmjs.com/package/@bufbuild/cel):\n  Provides a CEL evaluator for ECMAScript.\n- [@bufbuild/cel-spec](https://www.npmjs.com/package/@bufbuild/cel-spec):\n  Provides CEL definitions and test data from [github.com/google/cel-spec](https://github.com/google/cel-spec).\n\n\n## Status: Beta\n\nThis project is in beta.\n\n\n## Legal\n\nOffered under the [Apache 2 license][license].\n\n[buf]: https://buf.build\n[cel]: https://cel.dev\n[license]: LICENSE\n[contributing]: .github/CONTRIBUTING.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufbuild%2Fcel-es","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufbuild%2Fcel-es","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufbuild%2Fcel-es/lists"}