@matteopolak/minecraft-auth
TypeScript icon, indicating that this package has built-in type declarations

0.4.2 • Public • Published

Minecraft Auth

# Install with yarn
yarn add @matteopolak/minecraft-auth

# Install with npm
npm install @matteopolak/minecraft-auth

Usage

import { MicrosoftAuth } from '@matteopolak/minecraft-auth';

const auth = new MicrosoftAuth('username', 'password');
const java = await auth.getJavaToken();

console.log(java.token); // eyJhbG...

Dependencies (5)

Dev Dependencies (7)

Package Sidebar

Install

npm i @matteopolak/minecraft-auth

Weekly Downloads

1

Version

0.4.2

License

MIT

Unpacked Size

23.6 kB

Total Files

18

Last publish

Collaborators

  • matteopolak