🌟 Show real-time usage chart on webstomp-client's README.md, just copy the code below.
## Usage Trend
[](https://npm-compare.com/webstomp-client#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on webstomp-client's README.md, just copy the code below.
## GitHub Stars Trend
[](https://npm-compare.com/webstomp-client)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
Â
Â
Â
Â
Â
Â
Â
webstomp-client
22,580
297
-
23
7 years ago
Apache-2.0
webstomp-client
README for webstomp-client
webstomp-client
This library provides a stomp client for Web browsers and nodejs through Web Sockets.
Project Status
This is a fork of the original stomp-websocket re-written in ES6 and incorporate pending pull requests. All credits goes to the original authors: Jeff Mesnil & Jeff Lindsay.
Browsers support
Only ES5 compatible modern browsers are supported. If you need a websocket polyfill you can use sockjs
nodejs support
As nodejs does not have a WebSocket object like browsers have, you must choose a websocket client and use webstomp.over instead of webstomp.client. Choosing a good client is maybe the most difficult part:
npm run example will open examples in browser and try to connect to RabbitMQ Web-Stomp default Web Sockets url.
node run example/broadcast-node.js will run a dead simple nodejs example.