Installation

The AgensGraph client for Node.js allows you to work with AgensGraph databases using familiar JavaScript tools. Before using this package, make sure you have node-postgres installed, as this client works concurrently with it. Installation is simple and can be done using either Yarn or npm.

Using Yarn

yarn add pg @skaiworldwide/ag-driver

Using npm

npm install pg @skaiworldwide/ag-driver

After installation, you will be able to execute Cypher queries and interact with vertices, edges, and paths directly from your Node.js applications. This package adds full AgensGraph compatibility to node-postgres, enabling seamless integration with graph data.