New JavaScript/TypeScript WAMP client library: wamprx

81 views
Skip to first unread message

Johan 't Hart

unread,
Jul 17, 2019, 6:42:03 PM7/17/19
to WAMP
Hi all,

I would like to announce a new simple WAMP client library for JavaScript/TypeScript based on rxjs: wamprx.js
rxjs is (almost) its only dependency.

It for now only supports the caller and subscriber role. I might add more roles later. Also it was built for a web client, but has some abstractions so that it can run on the server too.

I would like to see this library mentioned here: https://wamp-proto.org/implementations.html
Is that possible?

Greetings,
Johan

Tobias Oberstein

unread,
Jul 18, 2019, 4:22:45 AM7/18/19
to wam...@googlegroups.com, Johan 't Hart, omer....@crossbario.com
Hi Johan,

nice;) thanks for sharing your work!

I've added wamprx.js to

https://wamp-proto.org/implementations.html#libraries

and shared an announcement here

https://www.linkedin.com/feed/update/urn:li:activity:6557532710573748224
https://forum.crossbar.io/t/new-wamp-client-library-wamprx-js/1574

---

sidenote:

there is one other TypeScript client lib

https://github.com/Verkehrsministerium/kraftfahrstrasse

and one that also builds on rx.js

https://github.com/paulpdaniels/rx.wamp

curious: so the distinguished feature of wamprx.js that it is both
TypeScript _and_ RX.js based?

Cheers,
/Tobias

PS: note that the 2nd announcement in above is to the new crossbar forum
(hence slightly OT) - we hadn't time yet to create a similar (Dicourse
based) forum https://github.com/wamp-proto/wamp-proto/issues/346

Am 18.07.19 um 00:42 schrieb Johan 't Hart:
> Hi all,
>
> I would like to announce a new simple WAMP client library for
> JavaScript/TypeScript based on rxjs: wamprx.js
> <https://github.com/Jopie64/wamprx.js>
> rxjs is (almost) its only dependency.
>
> It for now only supports the caller and subscriber role. I might add
> more roles later. Also it was built for a web client, but has some
> abstractions so that it can run on the server too.
>
> I would like to see this library mentioned here:
> https://wamp-proto.org/implementations.html
> Is that possible?
>
> Greetings,
> Johan
>
> --
> You received this message because you are subscribed to the Google
> Groups "WAMP" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to wampws+un...@googlegroups.com
> <mailto:wampws+un...@googlegroups.com>.
> To post to this group, send email to wam...@googlegroups.com
> <mailto:wam...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/wampws.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/wampws/963277b4-e9e7-4cfd-9f0d-a6801ce7aad2%40googlegroups.com
> <https://groups.google.com/d/msgid/wampws/963277b4-e9e7-4cfd-9f0d-a6801ce7aad2%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Johan 't Hart

unread,
Jul 18, 2019, 5:45:20 AM7/18/19
to WAMP
Hi Tobias,

I must say that at the time of writing the new lib I thought that only Autobahn.js and wampy existed. This lib was born because of dependency hell and poor typescript compatibility of other libs. Also using rx is a very good fit for WAMP which other libraries (or so I thought) didn't support natively.

So yea I guess the distinguishing feature of this new lib is that it is both supporting typescript natively and is based on rxjs. But also that it contains almost only one dependency.

Greetings
Johan

Reply all
Reply to author
Forward
0 new messages