JSPM

  • Created
  • Published
  • Downloads 222
  • Score
    100M100P100Q81439F
  • License ISC

An unofficial EarthMC library providing handy methods and extensive info.

Package Exports

  • earthmc

Readme

EarthMC-NPM

An unofficial wrapper library for interacting with the EarthMC Dynmap API.
This package is part of the EarthMC Toolkit and provides extensive info on people, places and more.

Install

bun add earthmc

While I recommend Bun for its speed, you can also install the package with any other package manager.

PNPM ➜ pnpm add earthmc
Yarn ➜ yarn add earthmc
NPM (ew) ➜ npm i earthmc

Basic Usage

View the full documentation here.

import { Aurora } from 'earthmc' // ESM
const { Aurora } = require('earthmc') // CJS

const towns = await Aurora.Towns.all().catch(console.error)
console.log(towns.length)