Nothing beats the performance of this naive implementation:
export const toHex = (array: Uint8Array) => { let result = ""; for (const value of array) { result += value.toString(16).padStart(2, "0"); } return result; };
KISS!