punycoder - Unicode and Punycode Domain Name Processing
High-performance Unicode and Punycode processing for internationalized domain names. The 'puny_encode()' / 'puny_decode()' helpers are a low-level, RFC 3492 compliant Punycode codec for domain labels (the 'xn--' ASCII-Compatible Encoding of RFC 5890/5891); they perform the raw transform plus letter-digit-hyphen checks and do not apply Unicode IDNA normalization. 'host_normalize()' is the Unicode Technical Standard #46 host-normalization entry point, mapping a host name to a canonical lowercase ASCII comparison form (non-transitional profile, pinned default Unicode version, selectable per call from the set the build ships). Aimed at host normalization and data analysis workflows. Used as the Punycode and IDNA engine by the 'pslr' and 'rurl' packages.
Last updated
punycodepunycode encodepunycode decodeidnaidninternationalized domain namesuts-46rfc 3492unicodehost normalizationhostnamedomain namestlddomain-namesdomainsinternationalized-domain-namespunycode-decodepunycode-encoder-langr-libraryr-programmingrfc3492unicode-converteruts46libidn2cpp
5.56 score 1 stars 2 dependents 5 scripts 319 downloadspslr - Public Suffix List Engine
A focused implementation of the Public Suffix List (PSL). Bundles a reproducible, pinned PSL snapshot and implements the official prevailing-rule algorithm to answer public-suffix (eTLD) and registrable-domain (eTLD+1) queries. Distinguishes ICANN and PRIVATE rule sections, accepts Unicode and ASCII hostnames via 'punycoder' canonicalization, and supports an explicit, validated offline refresh path. The matcher is compiled with 'cpp11' and requires no external system library. Used as the PSL engine by the 'rurl' package.
Last updated
public suffix listpsletldetld+1registrable domainicanndomain parsingdomain extractiondomain namestldcookie domainsidnapublic suffixcookiesdomaindomain-extractiondomain-namesdomain-parsingetld-plus-onepublic-suffixpublic-suffix-listpunycoder-langr-libraryregistrable-domainunicodecpp
5.02 score 1 stars 1 dependents 418 downloads