href="route.html"><code>m.route</code></a> uses internally to normalize paths to later match them. It uses <a href="parseQueryString.html"><code>m.parseQueryString</code></a> to parse the query parameters into an object.</p>
<pre><code class="language-javascript">var data = m.parsePathname(&quot;/path/user?a=hello&amp;b=world#random=hash&amp;some=value&quot;)

// data.path is &quot;/path/user&quot;
// data.params is {a: &quot;hello&quot;, b: &quot;world&quot;, random: &quot;hash&quot;, some: &quot;value&quo