Mikhus/domurl

Expand Url Template

Closed this issue · 1 comments

Is it possible to integrate something like this:

// URI Templates
URI.expand("/foo/{dir}/{file}", {
  dir: "bar",
  file: "world.html"
});
// -> /foo/bar/world.html

?
ref: https://github.com/medialize/URI.js/

I guess it's fine to leave it out and instead use a library like https://github.com/rezigned/uri-template.js