Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function normalize(name) {
return name ? uts46.toUnicode(name, {useStd3ASCII: true, transitional: false}) : name
}
export function normalize(name: string): string {
return name ? uts46.toUnicode(name, { useStd3ASCII: true, transitional: false }) : name
}