Skip to content

Commit 2dae026

Browse files
authored
docs: update readme to use esm (#103)
1 parent 8c14040 commit 2dae026

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
@@ -57,7 +57,7 @@ As an example, take the following:
5757
{ a: 1 } !== { a: 1 } // These are two different objects, they hold different references and so are not strictly equal - even though they hold the same values inside
5858
{ a: 1 } != { a: 1 } // They have the same type, meaning loose equality performs the same check as strict equality - they are still not equal.
5959

60-
var deepEql = require("deep-eql");
60+
import deepEql from "deep-eql";
6161
deepEql({ a: 1 }, { a: 1 }) === true // deepEql can determine that they share the same keys and those keys share the same values, therefore they are deeply equal!
6262
```
6363

0 commit comments

Comments
 (0)