Skip to content

Commit

Permalink
docs: Clarify that ESM imort is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
shrink committed Nov 14, 2024
1 parent 397fabc commit 91a688a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const ipinfoWrapper = new IPinfoWrapper("MY_TOKEN");
```

> [!TIP]
> If you are using ESM, import like this instead:
> If you are using ESM instead of CommonJS you can use `import` instead.
> ```
> import { IPinfoWrapper } from "node-ipinfo";
> ```
Expand Down

0 comments on commit 91a688a

Please sign in to comment.