{"id":14959347,"url":"https://github.com/neo4j/cypher-editor","last_synced_at":"2025-10-25T10:08:52.455Z","repository":{"id":20348336,"uuid":"89260843","full_name":"neo4j/cypher-editor","owner":"neo4j","description":"Codemirror editor for Cypher, with syntax awareness and auto-completion","archived":false,"fork":false,"pushed_at":"2024-04-02T12:27:25.000Z","size":12230,"stargazers_count":46,"open_issues_count":12,"forks_count":26,"subscribers_count":29,"default_branch":"main","last_synced_at":"2025-04-10T03:57:28.174Z","etag":null,"topics":["codemirror","cypher","cypher-query-language"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-04-24T16:05:45.000Z","updated_at":"2025-02-28T14:43:57.000Z","dependencies_parsed_at":"2024-04-02T13:41:50.343Z","dependency_job_id":"44884cfe-7b0d-457d-8864-07b58d7e4f50","html_url":"https://github.com/neo4j/cypher-editor","commit_stats":{"total_commits":456,"total_committers":16,"mean_commits":28.5,"dds":0.5855263157894737,"last_synced_commit":"11f473da0c57d97658d85b66ed184f1168240018"},"previous_names":["neo4j-contrib/cypher-editor"],"tags_count":169,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j%2Fcypher-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j%2Fcypher-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j%2Fcypher-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo4j%2Fcypher-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo4j","download_url":"https://codeload.github.com/neo4j/cypher-editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154996,"owners_count":21056542,"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":["codemirror","cypher","cypher-query-language"],"created_at":"2024-09-24T13:19:30.925Z","updated_at":"2025-10-25T10:08:47.419Z","avatar_url":"https://github.com/neo4j.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### cypher-editor\n\n### How to use\n\nGo to the relevant docs in the [docs/generated](./docs/generated) folder to read the docs on the package you're about to use.\n\nShortcuts:  \n[React](https://github.com/neo4j/cypher-editor/blob/main/docs/generated/neo4j-cypher_react-codemirror.md)\n\n```bash\nnpm install @neo4j-cypher/react-codemirror\n```\n\n[Svelte](https://github.com/neo4j/cypher-editor/blob/main/docs/generated/neo4j-cypher_svelte-codemirror.md)\n\n```bash\nnpm install @neo4j-cypher/svelte-codemirror\n```\n\n### Styling the view components\n\nTo make the view components build tool agnostic, the CSS is separate since importing CSS isn't a thing in many tools.\nIf your build tool supports importing CSS, you can import like this:\n\n```js\nimport \"@neo4j-cypher/codemirror/css/cypher-codemirror.css\";\n```\n\nIf not, you can load the styles from a CDN in your HTML like:\n\n```html\n\u003clink\n  href=\"https://unpkg.com/@neo4j-cypher/codemirror/css/cypher-codemirror.css\"\n  rel=\"stylesheet\"\n/\u003e\n```\n\n### Cloning\n\nThis repository is a monorepo, and all packages are located in the `packages` directory.\n\nTo install the dependencies for the monorepo, run the following the base directory:\n\n```\nnpm install\n```\n\nOptionally to build all library packages for release preparation, run the following in the base directory:\n\n```\nnpm run build:libs\n```\n\n### Demos\n\nOnce you have install the dependencies, you can run any of the demos that are in `demo-` prefixed packages, using commands like the following:\n\n```\ncd packages/demo-codemirror-6-vite-svelte\nnpm run start\n```\n\n### Tests\n\nSome e2e tests are setup. You can run them indivudually in each package:\n\n```bash\ncd packages/\u003cdemo-package-name\u003e\n\n# for dev\nnpm run start\nnpm run e2e\n\n# for prod\nnpm run build\nnpm run serve\nnpm run e2e\nnpm run unserve\n```\n\nOr all packages together:\n\n```bash\n# in project root\n\n# for prod\nnpm run start:e2e\nnpm run stop:e2e\n```\n\n# Contribution process\n\nContributions are very much appreciated and here's an outline of the process.\n\n- Work in your own fork of the repo\n- Open a PR against the main branch\n- Follow the instructions in the pull request template (run `npx changeset`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j%2Fcypher-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo4j%2Fcypher-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo4j%2Fcypher-editor/lists"}