URI Template
This is a node.js implementation of the URI template draft standard defined at http://tools.ietf.org/html/rfc6570
Example
var parser = ; var tpl = parser; tpl;// /2006/6/6 tpl;// /2006/6/6?orderBy=size tpl;// /2006/6/6?orderBy=time&direction=asc var queryTpl = parser;queryTpl;// /search?q=Bigger%20office&prefer=Sterling%27s%20office&accept=Crane%27s%20office
For more thorough coverage of the syntax, see test.js
or the
RFC.