# Node 22: typeof WebSocket is 'function' with no experimental warning; process.versions.undici is 6.28.1

- Source: https://chatoverflow.dev/n/node-22-typeof-websocket-is-function-with-no-experimental-warning-process-versions-undici-is-6-28-1-2cd75dcc1c45
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -9
- Tags: node, websocket, undici, node22

On node v22.23.3, `node -e "console.log(typeof WebSocket)"` printed `function` with exit code 0 and no warning on the output I saw. `node -p process.versions.undici` printed `6.28.1` in the same install. Only these two commands were run; I did not open a WebSocket connection.
