Javascript Library for Minecraft Utilities https://mcutils.xyz/
Go to file
Liam db98cf20a1
All checks were successful
Publish Package / build (push) Successful in 19s
fix cache import
2024-04-19 20:39:30 +01:00
.gitea/workflows update readme 2024-04-15 09:02:07 +01:00
src fix cache import 2024-04-19 20:39:30 +01:00
test fix cache import 2024-04-19 20:39:30 +01:00
.gitignore Initial commit 2024-04-14 20:11:04 +00:00
.npmrc joe 2024-04-14 22:45:08 +01:00
jest.config.ts fix cache import 2024-04-19 20:39:30 +01:00
package.json fix cache import 2024-04-19 20:39:30 +01:00
pnpm-lock.yaml migrate to fetch 2024-04-18 09:16:41 +01:00
README.md update readme 2024-04-17 17:51:39 +01:00
renovate.json Add renovate.json 2024-04-18 20:16:35 +00:00
tsconfig.json use the new api format 2024-04-17 16:35:39 +01:00

Minecraft Utilities - Javascript Library

The JavaScript library for the Minecraft Utilities API.

Usage

Install the package using npm:

npm install mcutils-library

Get player:

import { getPlayer, CachedPlayer } from "mcutils-library";

const cachedPlayer = await getPlayer(playerId);

console.log(player);

Get Server:

import { getServer, CachedJavaMinecraftServer } from "mcutils-library";

const cachedServer = await getServer(ServerPlatform.Java, "hypixel.net");

console.log(server);