From d737304f14d70f1869cfe83216ea2815610449a3 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Mon, 29 Jan 2024 23:18:31 +0200 Subject: [PATCH] chore: modify the readme to mention commonjs --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b14fc2b..4224ec4 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ See the [GAMES_LIST.md](GAMES_LIST.md) file for the currently supported titles, Install using your favorite package manager: `npm install gamedig`, then use! ```js import { GameDig } from 'gamedig'; +// Or if you're using CommonJS: +// const { GameDig } = require('gamedig'); GameDig.query({ type: 'minecraft',