From 91a688aa46799a39e7cfb94412ca893c08aba96b Mon Sep 17 00:00:00 2001 From: Samuel Ryan Date: Thu, 14 Nov 2024 15:35:18 +0800 Subject: [PATCH] docs: Clarify that ESM imort is optional --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ce3f68..34d7e6b 100644 --- a/README.md +++ b/README.md @@ -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"; > ```