</p>
<h2 id="combine">combine<a class="headerlink" href="#combine" title="Permanent link">&para;</a></h2>
<p>Combines any number of paths, normalizing the slashes as required</p>
<pre><code class="language-TypeScript">import { combine } from &quot;@pnp/core&quot;;

// &quot;https://microsoft.com/something/more&quot;
const paths = combine(&quot;https://microsoft.com&quot;, &quot;something&quot;, &quot;more&quot;);

// &quot;also/works/with/relative&quot;
const paths2 = combine(&quot;/also/&quot;, &quot;/work