talira

uri (Dart)

Dart utilities for parsing and generating URIs, including RFC 6570 URI templates

open sourceBSD-3-Clausefree

uri is a Dart package from Google for parsing and generating URIs. UriPattern is an interface for classes that match and parse URIs (like Pattern for strings), UriMatch holds the parameters parsed from a URI plus the unmatched rest, and UriTemplate implements RFC 6570 URI Templates for expanding templates with data into URIs and parsing URIs back against them.

Problems it solves

  • expand RFC 6570 URI templates in Dart
  • match and parse URI paths in a Dart app
  • build URLs from templates in Flutter

Features

  • RFC 6570 URI templates
  • UriPattern and UriMatch for parsing URIs
  • generate URIs from data