{"id":14959458,"url":"https://github.com/gamote/cifru","last_synced_at":"2026-01-22T19:48:37.654Z","repository":{"id":190167790,"uuid":"682132332","full_name":"Gamote/cifru","owner":"Gamote","description":"Cypher queries with no strings attached! 🌊","archived":false,"fork":false,"pushed_at":"2024-05-08T14:56:17.000Z","size":233,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T13:17:06.441Z","etag":null,"topics":["cypher","cypher-query","cypher-query-language","graph-database","neo4j","orm","query-builder","redis-graph","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gamote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-23T14:06:44.000Z","updated_at":"2024-10-11T03:09:38.000Z","dependencies_parsed_at":"2024-09-26T21:42:08.966Z","dependency_job_id":"4a3e3e6e-0927-4aa4-ae42-84a9117920ce","html_url":"https://github.com/Gamote/cifru","commit_stats":{"total_commits":51,"total_committers":2,"mean_commits":25.5,"dds":"0.019607843137254943","last_synced_commit":"989d242a36dafa11941532c524e2157d7545f94c"},"previous_names":["gamote/cifru"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamote%2Fcifru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamote%2Fcifru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamote%2Fcifru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamote%2Fcifru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gamote","download_url":"https://codeload.github.com/Gamote/cifru/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045267,"owners_count":21038555,"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","cypher-query-language","graph-database","neo4j","orm","query-builder","redis-graph","typescript"],"created_at":"2024-09-24T13:19:47.013Z","updated_at":"2025-04-09T13:17:09.335Z","avatar_url":"https://github.com/Gamote.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cifru\n\n[![NPM version](https://img.shields.io/npm/v/cifru.svg?style=flat)](https://www.npmjs.com/package/cifru)\n[![NPM downloads](https://img.shields.io/npm/dm/cifru.svg?style=flat)](https://www.npmjs.com/package/cifru)\n\n**Cifru** (🗣 `[ˈt͡ʃifru]`): cypher queries with no strings attached! Dive into our lightweight ORM that makes writing production-ready queries feel like a breeze.\n\n- **String validation at compile time**: uses TypeScript template literals to validate node and relation names, ensuring correct format before runtime.\n\n## Installation\n\n```bash\nyarn add cifru\n```\n\n## Usage\n\n```ts\nimport c, { Direction } from 'cifru';\n\nconst query = c\n  .match(\n    c\n      .node({\n        variable: 'a',\n        labels: ['Actor'],\n        properties: { name: 'Cami' },\n      })\n      .relation({\n        direction: Direction.Outgoing,\n        variable: 'r',\n        labels: ['ACTED_IN'],\n        properties: { roles: ['Trinity'] },\n      })\n      .node({\n        variable: 'm',\n        labels: ['Movie'],\n        properties: { name: 'The Matrix' },\n      }),\n  )\n  .return('a')\n  .query();\n\nconsole.log(query);\n// =\u003e MATCH (a:Actor {name: 'Cami'})-[r:ACTED_IN {roles: 'Trinity'}]-\u003e(m:Movie {name: 'The Matrix'})\n//    RETURN a\n```\n\n## Testing\n\n```bash\nyarn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamote%2Fcifru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamote%2Fcifru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamote%2Fcifru/lists"}