These libraries provide STOMP over WebSocket connectivity for web browsers and other JavaScript runtimes.

stompjs is the core JavaScript library. rx-stomp is a wrapper that exposes the same functionality as RxJS primitives. If you already use RxJS or prefer reactive patterns, start with rx-stomp.

Getting started

Start here:

All of these guides are written by the maintainers and follow best practices.

Samples:

API documentation for NPM released versions.

Upgrading

Other topics

  • Read the FAQs — a curated list of common questions and answers.
  • List of Polyfills — you may need these in some environments.
  • Notes on using these libraries with SockJS.
  • Support for Remote Procedure Calls — powerful but less commonly used.
  • Notes for using these libraries with React Native.