StompJs Family

These libraries provide STOMP over Websocket connectivity for web-browsers or any other Javascript based environments.

stompjs is the core Javascript library. rx-stomp is a wrapper that exposes functionality as RxJS primitives. If you are already using RxJS in your project or familiar with it, check out rx-stomp. ng2-stompjs makes rx-stomp classes Injectable and sets up some factories suitable to be used by Angular (2+).

Getting started

Please try the following guides:

Samples:

API documentation for NPM released versions.

Upgrading

Other topics

  • Read the FAQs, these cover quite varied topics.
  • List of Pollyfills - you may need for some environments.
  • Set of additional notes for using these libraries with SockJS.
  • One of my favourites, but not widely used, special support for Remote Procedure Calls.
  • An article devoted to specific issues posed by React Native.