minecraft-uuid-cache
v1.0.2
Published
Cache UUIDs associated with their usernames.
Downloads
5
Readme
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