{"id":20460980,"url":"https://github.com/ericgj/elm-uri-template","last_synced_at":"2026-05-11T09:27:50.515Z","repository":{"id":57675072,"uuid":"231986402","full_name":"ericgj/elm-uri-template","owner":"ericgj","description":"URI templates for Elm","archived":false,"fork":false,"pushed_at":"2020-01-05T23:08:46.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T00:35:17.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericgj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-05T22:51:17.000Z","updated_at":"2020-01-05T23:08:48.000Z","dependencies_parsed_at":"2022-09-02T14:26:51.869Z","dependency_job_id":null,"html_url":"https://github.com/ericgj/elm-uri-template","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Felm-uri-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Felm-uri-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Felm-uri-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericgj%2Felm-uri-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericgj","download_url":"https://codeload.github.com/ericgj/elm-uri-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242017413,"owners_count":20058424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T12:22:42.802Z","updated_at":"2026-05-11T09:27:45.451Z","avatar_url":"https://github.com/ericgj.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Url.Interpolate\n\nInject values from a Dict into a [URI Template][rfc6570].\n\n## Documentation\n\n`Url.Interpolate` provides a single function, `interpolate`, which takes\na [URI Template][rfc6570] string and a Dict of variables, and expands\nthe input string according to the rules in [IETF RFC 6570][rfc6570],\nup to Level 3 (Level 4 compliance is not provided or planned).\n\nThis package was adapted from [lukewestby/elm-string-interpolate][lukewestby].\n\n\n**Example:**\n```elm\ninterpolate \"http://example.com/{path}{?x,y,empty}\" \u003c| \n    Dict.fromList [(\"path\", \"hello\"), (\"x\", \"1024\"), (\"y\", \"768\")]\n\n-- \"http://example.com/hello?x=1024\u0026y=768\u0026empty=\"\n```\n\n[rfc6570]: https://tools.ietf.org/html/rfc6570\n[lukewestby]: https://github.com/lukewestby/elm-string-interpolate \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericgj%2Felm-uri-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericgj%2Felm-uri-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericgj%2Felm-uri-template/lists"}