const emojiHashOf Target Style export const emojiHashOf = (string, { length = 1 } = {}) => { Turns a string into a stable emoji hash with named options. Target style API. Preferred for new code. Parametersstringstring[options]{ length?: number } Returnsstring
const emojiHash Legacy Style export const emojiHash = (string = undefined, hashLength = 1) => { Turns a string into a stable emoji hash. Legacy API. Kept for older code and not the preferred choice for new code. Parameters[string]string[hashLength=1]number Returnsstring Exampleconst badge = emojiHashOf('scraper-utils', { length: 2, })