> <span class="keyword">from</span> <span class="string">'ws'</span><span class="punctuation">;</span>

<span class="keyword">const</span> webSocketServer <span class="operator">=</span> <span class="keyword">new</span> <span class="class-name">WebSocketServer</span><span class="punctuation">(</span><span class="punctuation">{</span><span class="literal-property">port</span><span class="operator">:</span> <span class="number">8047</span><span class="punctuation">}</span><span class="punctuation">)</span><sp