Skip to content

Commit d2da768

Browse files
fix: update README.md example for node
1 parent de546ec commit d2da768

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This library is distributed only via [NPM](npmjs.com). Install by running
2323
Require it in your code like this.
2424

2525
```javascript
26-
var Graph = require("graph-data-structure");
26+
const { Graph } = require("graph-data-structure");
2727
```
2828

2929
## Examples

0 commit comments

Comments
 (0)