File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Neo4j Bolt Driver for JavaScript
2
2
3
+ An alpha-level database driver for a new Neo4j remoting protocol.
3
4
4
- ## Example
5
+ Note: This is in active development, the API is not stable. Please try it out and give us feedback, but expect things to break in the medium term!
6
+
7
+ ## Add module to Nodejs application
5
8
6
9
``` javascript
7
10
var neo4j = require (' build/node/neo4j' );
11
+ ```
8
12
13
+ ## Include in web browser
14
+ A global object ` neo4j ` will be available.
15
+
16
+ ``` html
17
+ <script src =" build/browser/neo4j-web.min.js" ></script >
18
+ ```
19
+
20
+ ## Usage examples (works both in nodejs and browser environments)
21
+
22
+ ``` javascript
9
23
var statement = [' MERGE (alice:Person {name:{name_a},age:{age_a}})' ,
10
24
' MERGE (bob:Person {name:{name_b},age:{age_b}})' ,
11
25
' CREATE UNIQUE (alice)-[alice_knows_bob:KNOWS]->(bob)' ,
You can’t perform that action at this time.
0 commit comments