From 626f3d0725ae9d898d70bbf3610abd4edbb06bf5 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Mon, 22 Jan 2024 23:12:55 +0200 Subject: [PATCH] docs: fix readme example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21e4fe6..c20d1b5 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,11 @@ See the [GAMES_LIST.md](GAMES_LIST.md) file for the currently supported titles, ## Usage from Node.js Install using your favorite package manager: `npm install gamedig`, then use! ```js -import GameDig from 'gamedig'; +import { GameDig } from 'gamedig'; GameDig.query({ type: 'minecraft', - host: 'mc.example.com' + host: 'mc.hypixel.net' }).then((state) => { console.log(state); }).catch((error) => {