publicsuffix alternatives and similar packages
Based on the "Data" category.
Alternatively, view publicsuffix alternatives based on common mentions on social networks and blogs.
-
compendium-client
DISCONTINUED. Mu (μ) is a purely functional framework for building micro services. -
text-icu
This package provides the Haskell Data.Text.ICU library, for performing complex manipulation of Unicode text. -
streaming
An optimized general monad transformer for streaming applications, with a simple prelude of functions
CodeRabbit: AI Code Reviews for Developers

Do you think we are missing an alternative of publicsuffix or a related project?
README
Haskell bindings to query the publicsuffix list
A "public suffix" is one under which Internet users can (or historically could) directly register names. Some examples of public suffixes are .com, .co.uk and pvt.k12.ma.us. The Public Suffix List is a list of all known public suffixes.
(from https://publicsuffix.org/)
This package exposes functions to query the publicsuffix list to see if
a particular domain is a public suffix or not. This is used for example in HTTP
user agents to determine whether a cookie can be accepted (example of a bad
cookie: Set-Cookie: session=X; domain=*.com
) or when checking X.509
certificates (SSL/TLS) to see if a common name is valid (invalid CN: *.com
).
The list is compiled into the package, the functions are pure and don't need IO (not even hidden internally). Since the publicsuffix list is updated periodically, you should watch for changes and update your lower bounds on this package.
Version number
The package version follows the template <api version>.<date>
where date
is when the publicsuffix list was last updated from upstream, in the format
YYYYMMDD
.