socket.io-client-swift-spm-example To run: npm install node index.js In another terminal window: swift build ./.build/debug/spmtest The client and server can now send messages to each other by typing into the termals.