Neo4j Driver
Official Node.js driver for Neo4j graph database connections and queries.
Databases, ORMs and clients npm Apache-2.0
How Neo4j Driver is used
Neo4j Driver is a dependency in 10 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 41 projects, and what it is used with below comes from all of them. The most used alternative in our scan is pg (292 projects). Projects that use it most often also use Zod (80.5%), dotenv (61.0%), LangChain.js (56.1%).
Neo4j Driver popularity over time
Gid Score 42: downloads 58, use in agent projects 38, GitHub stars 10, downloads trend 64 (each 0-100). How it is calculated.
Often used with Neo4j Driver
| Zod | 80.5% of Neo4j Driver projects · 3.2× more than average |
|---|---|
| dotenv | 61.0% of Neo4j Driver projects · 3.9× more than average |
| LangChain.js | 56.1% of Neo4j Driver projects · 94.1× more than average |
| pg | 51.2% of Neo4j Driver projects · 10.9× more than average |
| Supabase JS | 43.9% of Neo4j Driver projects · 4.0× more than average |
| Qdrant JS Client | 41.5% of Neo4j Driver projects · 286.0× more than average |
| OpenAI | 41.5% of Neo4j Driver projects · 9.1× more than average |
| redis (JavaScript) | 36.6% of Neo4j Driver projects · 46.4× more than average |
From all 41 projects in our scan that use Neo4j Driver, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|---|
| Cursor | 0.3% of projects set up for it |
Share of public repos configured for each agent that list Neo4j Driver as a dependency.
Install
| Package | npm install neo4j-driver |
|---|---|
| Main stacks | TypeScript / JavaScript (29), Next.js (11), Rust (1) |
| Example projects | i-am-alice/3rd-devs, amingclawdev/toolBoxClient, OpenYabby/OpenYabby, Tianzeyui/stardust, jghiringhelli/codeseeker |
Alternatives to Neo4j Driver
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Neo4j Driver are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| pg npm PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility. |
78 | 292 (6.1%) | 40.1M | 13.2K | MIT |
| Drizzle ORM npm TypeScript ORM for SQL databases with type safety and zero-runtime overhead. |
80 | 251 (5.2%) | 18.3M | 36.1K | Apache-2.0 |
| Prisma npm Modern ORM with intuitive schema, migrations, and type-safe database queries. |
59 | 249 (5.2%) | 11.7M | 23 | Apache-2.0 |
| better-sqlite3 npm Fastest and simplest SQLite library for Node.js with synchronous API. |
67 | 150 (3.1%) | 7.2M | 7,522 | MIT |
| redis (JavaScript) npm Modern high-performance Redis client for Node.js with full feature support. |
67 | 49 (1.0%) | 8.6M | 17.6K | MIT |
| libSQL Client npm TypeScript/JavaScript driver for libSQL databases with modern async/await support. |
50 | 46 (1.0%) | 2.3M | 577 | MIT |
| mysql2 npm Fast MySQL driver with native protocol implementation, prepared statements and SSL. |
60 | 43 (0.9%) | 9.6M | 4,389 | MIT |
| Mongoose npm MongoDB object modeling library providing schema validation and query building. |
68 | 36 (0.7%) | 3.8M | 27.5K | MIT |
More in Databases, ORMs and clients: Drizzle Kit SQLAlchemy psycopg2 Alembic Neon Serverless Driver psycopg asyncpg aiosqlite