Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hypixel/helpers/MinecraftFormatting.ts>removeMinecraftFormatting

With thorough IntelliSense support & 100% test coverage, this is an unopinionated async/await API wrapper for Hypixel's Public API. It is developed in TypeScript complete with documentation, typed interfaces for all API responses (and an OpenAPI 3.0 schema!), built-in rate-limit handling, flexible cache support, helper functions, and support for undocumented endpoints.
Latest
function removeMinecraftFormatting
import { removeMinecraftFormatting } from "https://deno.land/x/hypixel@v3.1.1/helpers/MinecraftFormatting.ts";

This helper will take a string and remove any of Minecraft's formatting sequence. Useful when parsing item lore or similar elements.

Parameters

value: string

Any string with minecraft formatting.

Returns

string