Published September 20, 2026 | Version 1.2.1

pslr: Public Suffix List Engine

Authors/Creators

Description

A focused R 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.

Notes

Part of a three-package ecosystem for URL handling in R: pslr (Public Suffix List matching), punycoder (Punycode/IDNA), and rurl (URL parsing/normalization). pslr bundles a pinned snapshot of the Public Suffix List as its source of truth for registrable domains; that data (inst/extdata/) is distributed under the Mozilla Public License 2.0, separately from the MIT-licensed package code.

Files

bart-turczynski/pslr-v1.2.1.zip

Files (773.6 kB)

Name Size
md5:c9dbd06be0d2f6ea7e39603b89330768
773.6 kB Preview Download

Additional details

Related works

Is documented by
Software documentation: https://CRAN.R-project.org/package=pslr (URL)
Is identical to
Software: https://CRAN.R-project.org/package=pslr (URL)
Is required by
Software: https://CRAN.R-project.org/package=rurl (URL)
Requires
Software: https://CRAN.R-project.org/package=punycoder (URL)

References