Skip to main content

@celery/earthmc@1.1.2

A wrapper for the EarthMC API (v3)

Works with
This package works with Bun
This package works with Node.js
This package works with Deno
JSR Score
100%
Published
2 months ago

EarthMC API Wrapper

Installation

See the package on JSR.

Example Usage

import { EarthMC } from "@celery/earthmc";

const api = new EarthMC({ name: "foo" })

const players = await api.players() // [{ uuid:  ... , name: ... }, ...]
const town = await api.town(players[0].town.uuid) // [{ board: ... , ... }]

Add Package

deno add @celery/earthmc

Import symbol

import * as mod from "@celery/earthmc";

Add Package

npx jsr add @celery/earthmc

Import symbol

import * as mod from "@celery/earthmc";

Add Package

yarn dlx jsr add @celery/earthmc

Import symbol

import * as mod from "@celery/earthmc";

Add Package

pnpm dlx jsr add @celery/earthmc

Import symbol

import * as mod from "@celery/earthmc";

Add Package

bunx jsr add @celery/earthmc

Import symbol

import * as mod from "@celery/earthmc";