We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e467447 commit 98fa392Copy full SHA for 98fa392
README.md
@@ -26,6 +26,8 @@ npm install redisgraph.js
26
# Example: Using the JavaScript Client
27
28
```javascript
29
+const RedisGraph = require("redisgraph.js").RedisGraph;
30
+
31
let graph = new RedisGraph('social');
32
graph
33
.query("CREATE (:person{name:'roi',age:32})")
@@ -53,7 +55,7 @@ graph
53
55
A simple test suite is provided, and can be run with:
54
56
57
```sh
-$ mocha
58
+$ npm test
59
```
60
61
The tests expect a Redis server with the RedisGraph module loaded to be available at localhost:6379
0 commit comments