5 lines
106 B
TypeScript
5 lines
106 B
TypeScript
import { toUnicode } from 'punycode';
|
|
|
|
export default host => {
|
|
return toUnicode(host).toLowerCase();
|
|
};
|