Javascript-Library/README.md

21 lines
350 B
Markdown
Raw Normal View History

2024-04-14 20:14:42 +00:00
# Minecraft Utilities - Javascript Library
2024-04-14 20:11:04 +00:00
2024-04-14 20:14:42 +00:00
The JavaScript library for the Minecraft Utilities API.
## Usage
Install the package using npm:
```bash
npm install mcutils-library
```
Fetch data from a player:
```javascript
import mcUtils from "mcutils-library";
2024-04-14 20:15:46 +00:00
const { player } = await mcUtils.player.getPlayer("Notch");
2024-04-14 20:14:42 +00:00
console.log(player);
```