Gareth Pendleton 6131aa01e7 perf: Improved dec_octet parsing
Removed the list folding method and reverted to a standard
try_parser/parse_this_then method as used in the rest of the parser
2025-09-14 21:28:30 +01:00
2025-09-14 21:28:30 +01:00
2025-09-14 21:28:30 +01:00
2025-09-06 23:51:50 +01:00
2025-09-14 21:28:30 +01:00
2025-09-14 11:49:59 +01:00
2025-09-06 23:46:20 +01:00
2025-09-14 11:49:59 +01:00
2025-09-09 13:39:04 +01:00

uri

Uri (RFC 3986) library for Gleam

Package Version Hex Docs

gleam add uri@1
import uri

pub fn main() {
  let uri = uri.parse("http://example.com:8080/path?q=1")
      |> result.unwrap(types.empty_uri)
  uri.normalise(uri) |> uri.to_string |> echo
}

Further documentation can be found at https://hexdocs.pm/uri.

Development

gleam run   # Run the project
gleam test  # Run the tests
Description
URI (RFC 3986) library for Gleam
Readme Apache-2.0 134 KiB
v2.0.4 Latest
2025-10-27 19:19:06 +00:00
Languages
Gleam 99.5%
JavaScript 0.5%