
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
[!IMPORTANT] This is a third party wrapper for the Mowojang-API!
import { Client as MowojangClient } from "mowojang"
const Mowojang = new MowojangClient()
const UUID = await Mowojang.getUUID("Pixelic")
const username = await Mowojang.getUsername("14727fae-fbdc-4aff-848c-d2713eb9939e")
[!TIP] If you plan on using this in a long-running process with heavy usage check out this guide on how to setup custom caching to prevent memory leaks. Guide: Custom-Caching
getProfiles(): Retrieve full Player Data of multiple Players by UUID or UsernamegetProfile(): Retrieve full Player Data by UUID or UsernamegetSessions(): Retrieve Player Session Data of multiple Players by UUID or UsernamegetSession(): Retrieve Player Session Data by UUID or UsernamegetUUID(): Converts a Player's Username to UUIDgetUsername(): Converts a Player's UUID to UsernamegetSkin(): Returns the Skin the specified Player is currently wearinggetSkinBuffer(): Returns Skin Image fetched via getSkin() as a BuffergetCape(): Returns the Cape the specified Player has currently selectedgetCapeBuffer(): Returns Cape Image fetched via getCape() as a BufferAll above Functions accept an second Argument containing an optional config object. Cache options can also be passed there via the cache key. All available cache options can be found here.
All Utility Functions are exported combined as utlis.x.
dashUUID(): Adds dashes to UUIDv4 (If the UUIDv4 is already dashed nothing will change)undashUUID(): Removes all dashes from UUIDv4All Validator Functions are exported combined as validate.x.
UUID(): Returns whether the provided String is an valid UUID (Accepts both undashed and dashed UUIDv4 Strings)username(): Returns whether the provided String is an valid Username (Accepts a second argument stating the minimum length required to pass the validation)player() Combines the abovepnpm install: Installs all required dependenciespnpm build: Runs the TypeScript compilerpnpm test: Runs tests for all FunctionsFAQs
A simple JavaScript and TypeScript compatible wrapper for the Mowojang-API.
We found that mowojang demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.