1.0.0 • Published 2 years ago

minecraft-users v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

minecraft-users

minecraft-users is a faster, smaller and typescript compatible fork of minecraft-userdata. The goal of minecraft-users is to provide a easy way to pull UUIDs, skins and capes from just a username.

Features

  • Convert usernames to UUIDs
  • Convert UUIDs to usernames
  • Get user's capes
  • Get user's skin and head
  • Get 3D renders of user's skin and head

Example

Example code on how to get a user's UUID

const { GetUUID } = require('minecraft-users');

GetUUID('AsteroidsMC').then((UUID) => {
    console.log(UUID);
});

you could also use async/await, however both work

const { GetUUID } = require('minecraft-users');
async () => {
    console.log(await GetUUID('AsteroidsMC'));
};

Reporting

If you have any problems with this package feel free to open a issues using this link

Report Issue here