{"library":"jquery-simple-websocket","type":"library","category":null,"description":"jQuery Simple WebSocket (v1.1.4) is a browser-only jQuery plugin that extends $.simpleWebSocket with a fluent, deferred interface for WebSocket communication. It supports reconnection, configurable timeouts and attempts, and JSON/XML/text data types. The plugin is no longer actively maintained; the last release was in 2017. Key differentiators: built on jQuery, uses Promises (done/fail) for send, and supports multiple listeners. Alternatives include native WebSocket or modern libraries like Socket.IO.","language":"javascript","status":"maintenance","version":"1.1.4","tags":["javascript","jquery","jquery-plugin","browser","websocket"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install jquery-simple-websocket","imports":["var socket = $.simpleWebSocket({url: 'ws://...'});","socket.listen(function(msg) { console.log(msg.text); });","socket.send({foo: 'bar'}).done(function() {}).fail(function() {});","socket.connect();"]},{"cmd":"yarn add jquery-simple-websocket","imports":[]},{"cmd":"pnpm add jquery-simple-websocket","imports":[]}],"homepage":"http://jbloemendal.github.io/jquery-simple-websocket/","github":"https://github.com/jbloemendal/jquery-simple-websocket","docs":null,"changelog":null,"pypi":null,"npm":"jquery-simple-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}