Following the algorithm used for Google's IDN policy, this library can validate a ENS domain.
npm test
npm run build