1
2
3
export const codepoints = (str: string) => {
return [...str].map((part) => part.codePointAt(0).toString(16).toUpperCase());
};