Universal typescript XMPP library based on Strophe.js and reactivex observable streams
npm install @monksoftware/huangchaThe library is meant to be used as high-level xmpp client dependency on
other projects.
Nonetheless, you can "run it" as a readonly xmpp client. Could be useful
to observe raw incoming xmpp streams, debug connection and authentication
issues, and so on. To do so, you can launch it this way:
``bash`
env DEBUG='huangcha:*' XMPP_HOST='wss://xmpphost:port/ws-xmpp' XMPP_JID='node@domain/resource' XMPP_PASSWORD='password' npm run start
And you'll get something like this:
Following the widespread javascript convention, the library defines several
DEBUG namespaces that can be used
to enable logging. Being a library supposed to be used by final projects,
huangcha doesn't log anything by default.
Launch it with DEBUG='huangcha:*' to log everything, including raw xmpp frameshuangcha:raw`).
(
Typescript XMPP => first and last letters: T P => sounds like Tea Pee =>
yellow tea (if your pee in not yellow, you should call a doctor) =>
Huangcha is a
rare and refined variety of yellow tea.
Thanks to this youtube video
for confirming the pronounciation of the letters in english.