1.0.2 • Published 3 years ago

minecraft-uuid-cache v1.0.2

Weekly downloads
-
License
SEE LICENCE IN LI...
Repository
github
Last release
3 years ago

Minecraft UUID Cache for Usernames

Cache Minecraft Usernames to their UUIDs for 37 days to increase performance.

Implementation:

Run npm i minecraft-uuid-cache in your console.

Entering UUIDs without dashes will automatically convert with dashes sending no requests.

If no data has been cached for the username in 37 days it will send a request to Mojang.

const getUUID = require('minecraft-uuid-cache');

getUUID("caykie")
    .then(console.log) // eea2d4fd-c-413b-9439-f06faaf7e109
    .catch(console.log); // Error