Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.03 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.03 KB

eTLD-match-checker

cheker badge Auto deploy to vercel

Set up

  • git clone git@github.com:y-i/eTLD-match-checker.git
  • curl https://publicsuffix.org/list/public_suffix_list.dat | sed '/^$/d' | grep -v -- "//" > files/list.dat
  • pipenv install --dev

How to use

Document

Test

  • pipenv run pytest

Implemented

  • null input
  • Mixed case
  • Leading dot
  • Unlisted TLD
  • Listed, but non-Internet, TLD
  • TLD with only 1 rule
  • TLD with some 2-level rules
  • TLD with only 1 (wildcard) rule
  • More complex TLD
  • TLD with a wildcard rule and exceptions
  • US K12
  • IDN labels
  • Same as above, but punycoded