├── .editorconfig ├── .gitignore ├── .npmignore ├── .nvmrc ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── ISSUE_TEMPLATE.md ├── README.md ├── __test__ └── validate.spec.ts ├── examples └── example.spec.ts ├── package.json ├── rollup.config.ts ├── src ├── algorithms │ └── strings │ │ ├── index.ts │ │ └── levenstein.ts ├── check-result.ts ├── domain.ts ├── domains.json ├── enums │ └── index.ts ├── index.spec.ts ├── index.ts ├── regexes │ ├── dangerous-patterns.ts │ ├── index.spec.ts │ ├── index.ts │ └── unicode │ │ ├── blocks.ts │ │ ├── categories.ts │ │ ├── index.ts │ │ └── scripts.ts ├── script-resolver.ts ├── spoof-checker.ts ├── tranliterator.ts └── types.ts ├── tsconfig-build.json ├── tsconfig.json ├── tslint.json ├── yarn-error.log └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | tsconfig.json 2 | src -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/.prettierrc -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/README.md -------------------------------------------------------------------------------- /__test__/validate.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/__test__/validate.spec.ts -------------------------------------------------------------------------------- /examples/example.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/examples/example.spec.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/rollup.config.ts -------------------------------------------------------------------------------- /src/algorithms/strings/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/algorithms/strings/index.ts -------------------------------------------------------------------------------- /src/algorithms/strings/levenstein.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/algorithms/strings/levenstein.ts -------------------------------------------------------------------------------- /src/check-result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/check-result.ts -------------------------------------------------------------------------------- /src/domain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/domain.ts -------------------------------------------------------------------------------- /src/domains.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/domains.json -------------------------------------------------------------------------------- /src/enums/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/enums/index.ts -------------------------------------------------------------------------------- /src/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/index.spec.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/regexes/dangerous-patterns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/regexes/dangerous-patterns.ts -------------------------------------------------------------------------------- /src/regexes/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/regexes/index.spec.ts -------------------------------------------------------------------------------- /src/regexes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/regexes/index.ts -------------------------------------------------------------------------------- /src/regexes/unicode/blocks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/regexes/unicode/blocks.ts -------------------------------------------------------------------------------- /src/regexes/unicode/categories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/regexes/unicode/categories.ts -------------------------------------------------------------------------------- /src/regexes/unicode/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/regexes/unicode/index.ts -------------------------------------------------------------------------------- /src/regexes/unicode/scripts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/regexes/unicode/scripts.ts -------------------------------------------------------------------------------- /src/script-resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/script-resolver.ts -------------------------------------------------------------------------------- /src/spoof-checker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/spoof-checker.ts -------------------------------------------------------------------------------- /src/tranliterator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/tranliterator.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig-build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/tsconfig-build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn-error.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/yarn-error.log -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ensdomains/ens-validation/HEAD/yarn.lock --------------------------------------------------------------------------------