The Javascript library for Minecraft Utilities is a simple way to interact with the API using Javascript!
This is the Javascript library for Minecraft Utilities.
To use the Javascript library, you can run the following command:
Bashnpm install mcutils-library
This is a simple example of how to use the Javascript library to get a player's information.
Javascriptimport { getPlayer, CachedPlayer } from "mcutils-library"; const cachedPlayer: CachedPlayer = await getPlayer(playerId); console.log(player);