websockets
Installation
SKILL.md
Node.js WebSockets Skill
Master real-time bidirectional communication for building chat apps, live notifications, collaborative tools, and real-time dashboards.
Quick Start
WebSocket server in 3 steps:
- Setup Server - Socket.io or ws library
- Handle Connections - Manage client lifecycle
- Emit Events - Send/receive messages
Core Concepts
Socket.io Server Setup
const express = require('express');
const { createServer } = require('http');
const { Server } = require('socket.io');