UNPKG

easymc

Version:

An API for easymc.io, a site which allows you to use tokens to login to Minecraft accounts.

17 lines (15 loc) 391 B
import { EasyMC } from './api'; import { createServer } from './server'; class Client extends EasyMC { default: this; Client: typeof Client; constructor(api: string) { super(api); this.default = this; this.Client = Client; } createServer() { return createServer(); } } export = new Client('https://api.easymc.io/v1');