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

x/hypixel/mod.ts>transformItemData

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 transformItemData
Re-export
import { transformItemData } from "https://deno.land/x/hypixel@v3.1.1/mod.ts";

This helper will transform NBT data into a typed object using prismarine-nbt. It will also transform any backpacks/bags with item data so you can explore those as well.

Parameters

value: Parameters<parse>[number]

A Base64 item data string, NBT byte array, or buffer. If Deno, no Buffer but a Uint8Array is supported.