code: function parse (tmpl) {
    tmpl = tmpl || ''
    const parser = uritemplate.parse(tmpl)
  
    return function expand (params) {
      params = params || {}
      return parser.expand(params)
    }
  }
docs: parse a uri template str -> str