Node.js native bindings for ZYX graph database, a high-performance embeddable graph database engine with Cypher query support. Current stable version is 0.1.25, with prebuilt binaries for Linux (x64 glibc), macOS (ARM64), and Windows (x64 MSVC). Requires Node >= 18. Uses native addon (N-API) for performance and supports TypeScript types. Differentiators: embeddable (no server process), full Cypher support, transactions (read-write and read-only), shortest path queries, batch operations, and native performance. Alternative to Neo4j for embedded use cases.
npm install zyxdbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage: database creation, node/edge creation, Cypher query, and transactions.
Ensure the directory exists before calling open(), or use a path that can be created (the library does not automatically create parent directories).
On unsupported platforms, build from source: cd bindings/nodejs && npm install
Use a single Database instance per path. If you need multiple connections, consider using the same instance.
Collect results into an array with Array.from(result) if you need to iterate multiple times.
Use named parameters in the query and pass an object with matching keys.
Run `npm install zyxdb` and ensure your platform is supported (Linux x64 glibc, macOS ARM64, Windows x64 MSVC). If not, build from source.
Reinstall the package: `npm rebuild zyxdb`. Ensure glibc >= 2.28 on Linux.
No dependency data recorded yet.