Registry / utility / puerkitobio-purell

puerkitobio-purell

JSON →
library1.2.2gogounverified

Provides URL normalization as defined by Wikipedia, cleaning and standardizing URLs for consistent processing.

go get github.com/PuerkitoBio/purell
INSTALL
IMPORT
SIG · PUERKITOBIO-PURELL
P
puerkitobio-purell
utilitygov1.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

purell
github.com/PuerkitoBio/purell

Normalizes a URL using safe flags.

package main import ( "fmt" "github.com/PuerkitoBio/purell" "net/url" ) func main() { u, _ := url.Parse("HTTP://Example.COM:80/path") normalized := purell.NormalizeURL(u, purell.FlagsSafe) fmt.Println(normalized) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
puerkitobio-purell — go get puerkitobio-purell · libregistry