Skip to content

Commit 98fa392

Browse files
committed
fix README
1 parent e467447 commit 98fa392

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ npm install redisgraph.js
2626
# Example: Using the JavaScript Client
2727

2828
```javascript
29+
const RedisGraph = require("redisgraph.js").RedisGraph;
30+
2931
let graph = new RedisGraph('social');
3032
graph
3133
.query("CREATE (:person{name:'roi',age:32})")
@@ -53,7 +55,7 @@ graph
5355
A simple test suite is provided, and can be run with:
5456

5557
```sh
56-
$ mocha
58+
$ npm test
5759
```
5860

5961
The tests expect a Redis server with the RedisGraph module loaded to be available at localhost:6379

0 commit comments

Comments
 (0)