index.js
function parse (tmpl) {
  tmpl = tmpl || ''
  const parser = uritemplate.parse(tmpl)

  return function expand (params) {
    params = params || {}
    return parser.expand(params)
  }
}
function parse (tmpl) {
  tmpl = tmpl || ''
  const parser = uritemplate.parse(tmpl)

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