Example app
The repo includes a runnable Node example at examples/basic/ in the GitHub tree.
It demonstrates:
- Parsing and printing a
.cyphraschema - Parameterized Cypher with the
cyphertag andSelectQuery - Offline DDL preview for
cyphra push— constraints and range indexes - Optional live
RETURN 1viaCyphraClient.queryRecordswhenNEO4J_*env vars are set
The example depends on the cyphra meta-package only (import { … } from "cyphra").
Run locally
From the monorepo root:
pnpm install
pnpm build
pnpm example:basicSee the example README.md for details and .env setup.
Last updated on