Skip to content

MinecraftJS/Yggdrasil

Repository files navigation

Yggdrasil

GitHub Workflow Status GitHub npm (scoped)

Yggdrasil wrapper written in TypeScript

Documentation

Installation

Install the package:

$ npm install @minecraft-js/yggdrasil

And then import it in your JavaScript/TypeScript file

const { yggdrasil } = require('@minecraft-js/yggdrasil'); // CommonJS

import { yggdrasil } from '@minecraft-js/yggdrasil'; // ES6

Usage

This library is meant for client and server authentication. See this for more information.