cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to connect to local graph database in javascript driver js2neo

//connection with the installed js2neo-library
var cx = js2neo.open({ host: "bolt://localhost", user: "neo4j", password: "1234567890!" })
//Test run
cx.run("MATCH (n) RETURN *", { onRecord: console.log })

1 REPLY 1

Neo4j provides a Neo4j Bolt Javascript driver and as described at https://neo4j.com/docs/driver-manual/1.7/client-applications/#driver-driver-object . Can you use this instead