@lumia/mojang-authenticator

Authenticator for Mojang Services

Usage no npm install needed!

<script type="module">
  import lumiaMojangAuthenticator from 'https://cdn.skypack.dev/@lumia/mojang-authenticator';
</script>

README

Mojang Authenticator

npm (scoped) NPM

Installation

npm install @lumia/mojang-authenticator

Usage Example

import { Authenticator } from "@lumia/mojang-authenticator"

(async () => {
    const auth = new Authenticator();
    const res = await auth.authenticate("your-username", "your-password");
    console.log(res);
})();

License

MIT License