Skip to content

Commit 91a688a

Browse files
committed
docs: Clarify that ESM imort is optional
1 parent 397fabc commit 91a688a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const ipinfoWrapper = new IPinfoWrapper("MY_TOKEN");
4242
```
4343

4444
> [!TIP]
45-
> If you are using ESM, import like this instead:
45+
> If you are using ESM instead of CommonJS you can use `import` instead.
4646
> ```
4747
> import { IPinfoWrapper } from "node-ipinfo";
4848
> ```

0 commit comments

Comments
 (0)