← All repos

url-parser

Parse URLs into nicely structured data

elmnavigationroutingspaurl
Browse cluster: Elm Language & Ecosystem
30commits
5contributors
1languages

Tech stack & purpose

url-parser is an Elm library that parses URLs into structured data for use in single-page applications. It's designed to work with elm-lang/navigation to help developers manage browser navigation and routing in SPAs. The library provides parsers that transform URL hashes into strongly-typed Elm union types, enabling type-safe route handling. While it serves as a baseline implementation, the authors note it currently lacks support for query parameters and hashes, positioning it as a foundation for future URL parsing solutions and a tool for gathering real-world usage scenarios.

Languages

Elm
100.0%

Contributors