The official Neo4j Bolt driver for JavaScript, enabling applications to connect to and interact with Neo4j graph databases.
Neo4j Driver for JavaScript is the official client library that enables JavaScript applications to connect to and interact with Neo4j graph databases. It implements the Bolt binary protocol to execute Cypher queries, manage transactions, and handle graph data efficiently. The driver supports both Node.js and browser environments, providing type-safe operations and comprehensive data type handling.
JavaScript developers building applications that need to store, query, or analyze connected data using Neo4j graph databases, including full-stack developers, data engineers, and backend service developers.
Developers choose this driver because it's the officially supported, most reliable way to connect JavaScript applications to Neo4j, with guaranteed compatibility, performance optimizations, and full access to Neo4j's features including vector support and reactive sessions.
Neo4j Bolt driver for JavaScript
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Maintained by Neo4j with guaranteed compatibility and long-term stability, reducing integration risks and ensuring feature alignment with database updates.
Uses Neo4j's binary Bolt protocol for low-latency communication, optimizing data transfer efficiency in both Node.js and browser environments via WebSockets.
Supports full 64-bit integers and vector types with utilities like neo4j.int and neo4j.vector, addressing JavaScript's numeric limitations for precise graph operations.
Offers both standard async and reactive sessions, catering to Promise-based and RxJS paradigms, with built-in transaction retry logic for reliability.
Requires manual conversion using neo4j.int for integers outside JavaScript's safe range, adding boilerplate and risk of precision loss if disableLosslessIntegers is enabled.
Demands explicit session and transaction management, including careful closing to avoid hangs or errors, as highlighted in the README's shutdown warnings.
Lacks built-in ORM features or query builders; developers must write raw Cypher queries, which can be error-prone for complex graph traversals.