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.
Returns
Promise<NBTInventory>