{"library":"webstomp-client","type":"library","category":null,"description":"webstomp-client is a JavaScript library providing a STOMP client over WebSockets for both browser and Node.js environments. Currently at version 1.2.6, it does not follow a fixed release cadence but rather ships updates as needed, addressing bug fixes and minor enhancements. This project is an active fork of the original `stomp-websocket` library by Jeff Mesnil and Jeff Lindsay, having been rewritten in ES6 to modernize its codebase and integrate community-contributed pull requests that were pending in the upstream project. Its key differentiators include modern ES6 syntax, built-in TypeScript type definitions, and explicit support for supplying custom WebSocket implementations (e.g., `ws` or `sockjs-client` in Node.js) via the `webstomp.over()` method, rather than relying solely on a global `WebSocket` object like its predecessor or browser-only alternatives. For browser environments, it automatically uses the global `WebSocket` object. It provides a robust API for connecting, subscribing, sending messages, and handling disconnections with STOMP servers like RabbitMQ Web-STOMP.","language":"javascript","status":"active","version":"1.2.6","tags":["javascript","stomp","webstomp","websocket","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webstomp-client","imports":["import webstomp from 'webstomp-client';","import type { Client } from 'webstomp-client';","import type { Frame } from 'webstomp-client';","const webstomp = require('webstomp-client');"]},{"cmd":"yarn add webstomp-client","imports":[]},{"cmd":"pnpm add webstomp-client","imports":[]}],"homepage":null,"github":"https://github.com/JSteunou/webstomp-client","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webstomp-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webstomp-client/compatibility"}}