URL parser

Parse URLs and extract components (protocol, host, path, etc.)

URL Parser

Parse and inspect all components of a URL

Protocol
Username
Password
Hostname
Port
Host
Origin
Pathname
Search
Hash
foo
baz