code: function encodeURIComponentPretty (str) {
    return encodeURI(str).replace(/[\/?#]/g, function (c) {
      return '%' + c.charCodeAt(0).toString(16).toUpperCase()
    })
  }
docs: Prettier encoding of URI path segments.
  
  @param  {string}
  @return {string}