UNPKG

3.2 kBMarkdownView Raw
1# STOMP.js
2
3[![Build Status](https://travis-ci.org/stomp-js/stompjs.svg?branch=master)](https://travis-ci.org/stomp-js/stompjs)
4
5This library provides a STOMP over WebSocket client for Web browser and node.js applications.
6
7# Introduction
8
9This repository is for version 5 and above of this library.
10Lower versions are not supported any longer.
11
12This library allows you to connect to a STOMP broker over WebSocket. This library
13supports complete STOMP specifications including all current protocol variants. Most
14popular messaging brokers support STOMP and STOMP over WebSockets either natively
15or using plugins.
16
17In general JavaScript engines in browsers are not friendly to binary protocols,
18so using STOMP is a good option because it is a text-oriented protocol.
19
20This library has its roots in a version released by [Jeff Mesnil](http://jmesnil.net/).
21
22## Current Status
23
24Version 5 of this library has been bottom-up rewritten using TypeScript (versions 3/4
25use CoffeeScript). The code has substantially changed, so, while there is a compatibility
26mode, you might need to update your code.
27
28This library is feature complete and has been used in production for many years. It
29is actively maintained. You are welcome to file issues and submit pull requests.
30
31## Getting started
32
33The API documentation is hosted as GitHub pages for the entire StompJS family of libraries.
34You may head straight to the https://stomp-js.github.io/api-docs/latest/
35
36This library comes with detailed usage instructions. Please find it at
37[Usage instructions](https://stomp-js.github.io/guide/stompjs/using-stompjs-v5.html).
38Check out other guides at https://stomp-js.github.io/.
39
40There are quite detailed API documentation,
41you should start at https://stomp-js.github.io/api-docs/latest/classes/Client.html.
42
43## Upgrading
44
45if you were using an older version of this library, you would need to make changes
46to your code. Head to
47[Upgrading](https://stomp-js.github.io/#upgrading).
48
49## Usage with RxJS
50
51https://github.com/stomp-js/rx-stomp is based on this library and exposes the entire functionality
52offered by this library as RxJS Observables.
53
54## Usage with Angular2+
55
56https://github.com/stomp-js/ng2-stompjs is based on https://github.com/stomp-js/rx-stomp
57and exposes key classes as Angular Injectable Services.
58
59## TypeScript definitions
60
61The npm package includes TypeScript definitions, so there is no need no install it separately.
62
63## Change-log
64
65Please visit [Change Log](Change-log.md).
66
67## Contributing
68
69If you want to understand the code, develop, or contribute. Please visit
70[How to contribute](Contribute.md).
71
72## Authors
73
74- [Jeff Mesnil](http://jmesnil.net/)
75- [Jeff Lindsay](http://github.com/progrium)
76- [Vanessa Williams](http://github.com/fridgebuzz)
77- [Deepak Kumar](https://github.com/kum-deepak)
78- [Astha Deep](https://github.com/astha183)
79- [Dillon Sellars](https://github.com/dillon-sellars)
80- [Jimi Charalampidis](https://github.com/jimic)
81- [Raul](https://github.com/rulonder)
82- [Dimitar Georgiev](https://github.com/iMitaka)
83- [Genadi](https://github.com/genadis)
84- [Bobohuochai](https://github.com/bobohuochai)
85- [Sailai](https://github.com/sailai)
86
87## License
88
89[License](LICENSE) - Apache-2.0