URI.js
URI.js copied to clipboard
Recommanded URITemplate extraction method?
Hi,
I don't see any URITemplate extraction method... did I miss it or is there a recommanded companion to do it, please?
I have seen the alternatives in your readme (uri-template & uri-templates) but I prefer to use yours.
What exactly do you mean by "URITemplate extraction method"?
Extract the pairs (key/value) from an URI, based on the template, a few like this: https://github.com/rezigned/uri-template.js#extraction
extraction is not covered by RFC6570 and therefore wasn't implemented in URI.js
It's ok but why not a URI.js "companion" using your template structure? :)