>.<span class="variable">stack</span>);
}

<span class="variable">connect</span>.<span class="variable">createServer</span>(<span class="keyword">break</span>, <span class="variable">errorHandler</span>).<span class="variable">listen</span>(<span class="number integer">3000</span>);
</code></pre>

<p>To make your middleware available to others, typically you write a module, and export the function itself:</p>

<pre><code class="js"><span class="comment">// delay.js</span>
<span class="variable">module</span