{"id":14959318,"url":"https://github.com/neo4j/cypher-builder","last_synced_at":"2025-04-12T23:29:47.317Z","repository":{"id":66050096,"uuid":"573027143","full_name":"neo4j/cypher-builder","owner":"neo4j","description":"A library for building Cypher queries for Neo4j programmatically.","archived":false,"fork":false,"pushed_at":"2025-04-03T12:39:43.000Z","size":1947,"stargazers_count":58,"open_issues_count":12,"forks_count":16,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-04T03:03:57.918Z","etag":null,"topics":["cypher","cypher-query-language","javascript","neo4j","query-builder","typescript"],"latest_commit_sha":null,"homepage":"https://neo4j.github.io/cypher-builder/","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/neo4j.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-12-01T14:43:28.000Z","updated_at":"2025-04-01T13:39:28.000Z","dependencies_parsed_at":"2023-12-20T13:40:41.501Z","dependency_job_id":"2986c8be-f82d-4652-9e15-2d2fcf1eb07c","html_url":"https://github.com/neo4j/cypher-builder","commit_stats":{"total_commits":854,"total_committers":14,"mean_commits":61.0,"dds":0.3278688524590164,"last_synced_commit":"566f97a5bde65135c67e29224c76722aa6cb21d1"},"previous_names":[],"tags_count":61,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j%2Fcypher-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j%2Fcypher-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j%2Fcypher-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j%2Fcypher-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j","download_url":"https://codeload.github.com/neo4j/cypher-builder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647007,"owners_count":21139079,"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":["cypher","cypher-query-language","javascript","neo4j","query-builder","typescript"],"created_at":"2024-09-24T13:19:27.022Z","updated_at":"2025-04-12T23:29:47.290Z","avatar_url":"https://github.com/neo4j.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cypher Builder\n\n[![npm version](https://badge.fury.io/js/@neo4j%2Fcypher-builder.svg)](https://www.npmjs.com/package/@neo4j/cypher-builder)\n[![Test](https://github.com/neo4j/cypher-builder/actions/workflows/test.yml/badge.svg)](https://github.com/neo4j/cypher-builder/actions/workflows/test.yml)\n[![Lint](https://github.com/neo4j/cypher-builder/actions/workflows/lint.yml/badge.svg)](https://github.com/neo4j/cypher-builder/actions/workflows/lint.yml)\n\nCypher Builder is a JavaScript programmatic API to create [Cypher](https://neo4j.com/docs/cypher-manual/current/) queries for [Neo4j](https://neo4j.com/).\n\n- [Documentation](https://neo4j.github.io/cypher-builder/cypher-builder/current/)\n\n```typescript\nimport Cypher from \"@neo4j/cypher-builder\";\n\nconst movieNode = new Cypher.Node();\nconst pattern = new Cypher.Pattern(movieNode, { labels: [\"Movie\"] });\n\nconst matchQuery = new Cypher.Match(pattern)\n    .where(movieNode, {\n        title: new Cypher.Param(\"The Matrix\"),\n    })\n    .return(movieNode.property(\"title\"));\n\nconst { cypher, params } = matchQuery.build();\n\nconsole.log(cypher);\nconsole.log(params);\n```\n\n_Cypher_\n\n```cypher\nMATCH (this0:Movie)\nWHERE this0.title = $param0\nRETURN this0.title\n```\n\n_Params_\n\n```typescript\n{\n    \"param0\": \"The Matrix\",\n}\n```\n\n# Examples\n\nYou can find usage examples in the [examples](https://github.com/neo4j/cypher-builder/tree/main/examples) folder.\n\n\u003e This library is for JavaScript and TypeScript only. If you are using Java, check [Neo4j Cypher DSL](https://neo4j.github.io/cypher-dsl).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j%2Fcypher-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j%2Fcypher-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j%2Fcypher-builder/lists"}