{"library":"fastify-ws","type":"library","category":null,"description":"Basic WebSocket support for Fastify built on the ws and uws libraries. Current stable version is 1.0.3, with infrequent releases. It provides a simple plugin to add WebSocket functionality to Fastify, exposing a `fastify.ws` WebSocket.Server instance. Supports both `ws` (default) and `uws` backends, but `uws` is abandoned. Differentiator: minimal plugin for legacy Fastify versions, but not actively maintained and lacks full lifecycle management compared to @fastify/websocket.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","fastify","websocket","ws","uws"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fastify-ws","imports":["import fastifyWs from 'fastify-ws'","fastify.register(fastifyWs)\nconst wss = fastify.ws","fastify.ws.on('connection', (socket) => { ... })"]},{"cmd":"yarn add fastify-ws","imports":[]},{"cmd":"pnpm add fastify-ws","imports":[]}],"homepage":"https://github.com/gj/fastify-ws#readme","github":"https://github.com/gj/fastify-ws","docs":null,"changelog":null,"pypi":null,"npm":"fastify-ws","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}