title: How to replace spaces in url with + instead of '%20'?
body: <p>I am trying to convert my parameters into a string in order to send an api request.
  However, my current function replaces the spaces in the parameters into '%20'. How do I change it to change spaces into +?</p>
  <p>Example params:
  {name: &quot;joe walsh&quot;}</p>
  <p>Current result:
  ...endpoint?name=joe%20walsh</p>
  <p>Wanted result:
  ...endpoint?name=joe+walsh</p>
  <p>Here's my current function</p>
  <pre><code>stringifyParams(params: any) {
    return queryString
      .stringify(params)
      .replace(/[^?=&amp;]+=(&amp;|$)/g, '')
      .replace(/&amp;$/, '')
  }
  </code></pre>