From 74de8961effa396949612e5edc178bf80696b024 Mon Sep 17 00:00:00 2001 From: Florian BOUILLON Date: Tue, 18 Jul 2023 12:54:06 +0200 Subject: [PATCH] fix: update README Signed-off-by: Florian BOUILLON --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d7edf3b..f640c71 100644 --- a/README.md +++ b/README.md @@ -82,8 +82,11 @@ _in Browser_ _in NodeJS (in an async context)_ ```typescript -// Import the SDK in Typescript -import TCGdex from '@tcgdex/sdk'; +// Import the SDK in Typescript or moduleJS +import TCGdex from '@tcgdex/sdk' + +// import the SDK in commonJS +const TCGdex = require('@tcgdex/sdk').default // Instantiate the SDK const tcgdex = new TCGdex('en');