Gathering detailed insights and metrics for @stomp/rx-stomp
Gathering detailed insights and metrics for @stomp/rx-stomp
Gathering detailed insights and metrics for @stomp/rx-stomp
Gathering detailed insights and metrics for @stomp/rx-stomp
npm install @stomp/rx-stomp
Typescript
Module System
Node Version
NPM Version
TypeScript (70.62%)
JavaScript (28.07%)
Shell (1.05%)
Dockerfile (0.26%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
118 Stars
699 Commits
17 Forks
3 Watchers
8 Branches
4 Contributors
Updated on Jun 04, 2025
Latest Version
2.0.1
Package Id
@stomp/rx-stomp@2.0.1
Unpacked Size
136.61 kB
Size
29.79 kB
File Count
38
NPM Version
10.8.2
Node Version
22.7.0
Published on
Mar 09, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
20
This library provides an RxJS oriented STOMP over WebSocket client for Web browser and node.js applications.
Please visit https://stomp-js.github.io/ for guides, FAQs and API docs.
This library allows you to connect to a STOMP broker over WebSocket. This library supports complete STOMP specifications including all current protocol variants. Most popular messaging brokers support STOMP and STOMP over WebSockets out-of-the-box or using plugins.
This library uses https://github.com/stomp-js/stompjs under the hood.
The npm package includes TypeScript definitions, so there is no need to install it separately.
1<script type="importmap"> 2 { 3 "imports": { 4 "@stomp/rx-stomp": "https://ga.jspm.io/npm:@stomp/rx-stomp@2.0.0/esm6/index.js" 5 }, 6 "scopes": { 7 "https://ga.jspm.io/": { 8 "@stomp/stompjs": "https://ga.jspm.io/npm:@stomp/stompjs@7.0.0/esm6/index.js", 9 "rxjs": "https://ga.jspm.io/npm:rxjs@7.8.0/dist/esm5/index.js", 10 "tslib": "https://ga.jspm.io/npm:tslib@2.5.0/modules/index.js", 11 "uuid": "https://ga.jspm.io/npm:uuid@9.0.0/dist/esm-browser/index.js" 12 } 13 } 14 } 15 </script> 16 17<!-- ES Module Shims: Import maps polyfill for modules browsers without import maps support (all except Chrome 89+) --> 18<script async src="https://ga.jspm.io/npm:es-module-shims@1.5.1/dist/es-module-shims.js" crossorigin="anonymous"></script> 19 20<script type="module"> 21 import { RxStomp } from "@stomp/rx-stomp"; 22 23 const rxStomp = new RxStomp(); 24 rxStomp.configure({ 25 brokerURL: 'ws://localhost:15674/ws', 26 }); 27 28 rxStomp.activate(); 29 30 const subscription = rxStomp 31 .watch({ destination: "/topic/test-rx" }) 32 .subscribe((message) => console.log(message.body)); 33 34 rxStomp.publish({ 35 destination: "/topic/test-rx", 36 body: "First message to RxStomp", 37 }); 38 39 setTimeout(async () => { 40 subscription.unsubscribe(); 41 await rxStomp.deactivate(); 42 }, 3000); 43</script>
1$ npm install @stomp/rx-stomp ws
1import { RxStomp } from "@stomp/rx-stomp"; 2import { WebSocket } from 'ws'; 3 4Object.assign(global, { WebSocket}); 5 6const rxStomp = new RxStomp(); 7rxStomp.configure({ 8 brokerURL: 'ws://localhost:15674/ws', 9}); 10 11rxStomp.activate(); 12 13const subscription = rxStomp 14 .watch({ destination: "/topic/test-rx" }) 15 .subscribe((message) => console.log(message.body)); 16 17rxStomp.publish({ 18 destination: "/topic/test-rx", 19 body: "First message to RxStomp", 20}); 21 22setTimeout(async () => { 23 subscription.unsubscribe(); 24 await rxStomp.deactivate(); 25}, 3000);
See https://stomp-js.github.io/ for instructions and tutorials.
See samples at: https://github.com/stomp-js/samples/.
API documentation at: https://stomp-js.github.io/api-docs/latest/classes/RxStomp.html.
Please visit Change Log.
If you want to understand the code, develop, or contribute. Please visit How to contribute.
License - Apache-2.0
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
3 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More