Skip to content

Commit 7af47a4

Browse files
authored
Merge pull request #77 from amopitt/fix/require-documentation
fix: update README.md example for node
2 parents de546ec + d2da768 commit 7af47a4

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)