{"library":"svelte-websocket","type":"library","category":null,"description":"Bootstrapping helpers for attaching WebSocket servers (e.g., Socket.IO, ws) to a SvelteKit application in both development (via Vite plugin) and production (via Node runtime). Current stable version 1.0.0, requires Node >=18 and Vite ^7 || ^8. Unlike manual setups, it provides a unified API to expose the same WebSocket function across environments, handles lifecycle deduplication, and keeps runtime imports Vite-free.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","svelte","sveltekit","vite","websocket","socket.io","realtime","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install svelte-websocket","imports":["import { svelteKitWebSocketPlugin } from 'svelte-websocket/vite'","import { exposeWebSocketServer } from 'svelte-websocket'","import { startWebSocketServer } from 'svelte-websocket'","import { getExposedWebSocketServer } from 'svelte-websocket'"]},{"cmd":"yarn add svelte-websocket","imports":[]},{"cmd":"pnpm add svelte-websocket","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"svelte-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}