node-xmpp-server | XMPP Server | Runtime Evironment library
kandi X-RAY | node-xmpp-server Summary
kandi X-RAY | node-xmpp-server Summary
XMPP Server using node-xmpp
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of node-xmpp-server
node-xmpp-server Key Features
node-xmpp-server Examples and Code Snippets
Community Discussions
Trending Discussions on node-xmpp-server
QUESTION
I'm in the process creating sample chat app that need to works both in mobile and web with node application and ejabbered server using xmpp protocol.using xmpp protocol for the node-ejabbered connection I am facing confusion with the several modules node-xmpp-client and node-xmpp-server. I am new to this please anyone suggest which is to be used among 2 and correct me if i am wrong.
And what is the role of node-xmpp module if there is already 2 modules node-xmpp-client and node-xmpp-server.
please clear my confusion, I can't get clear thought with descriptions given in the other sites
Thanks
...ANSWER
Answered 2018-Sep-12 at 13:24Both node-xmpp-client and node-xmpp-server are deprecated and the whole node-xmpp family as well.
There is a separate https://github.com/xmppjs/xmpp.js which is a replacement for them.
This library is good for the following things:
- Node.js
- Web browser
- Native Script
- React Native
So you can use this lib if you want to interract from all above environments with your Ejabberd server.
Also, if we are talking about Web only - there is a good Web browser lib: http://strophe.im/strophejs/
Also, if we are talking about native mobile, there are 2 XMPP libs for native iOS & Android:
- https://github.com/robbiehanson/XMPPFramework for iOS native apps
- https://github.com/igniterealtime/Smack for Android native apps
=====
You do not need to use 'node-xmpp-server' at all. You already have an XMPP server (Ejabberd). You just need to interact with it from your mobile & web apps using above libs.
If you are going to use some Native Script / Reeact Native for mobile apps development then you can use a single lib xmpp.js on both mobile and web apps. If you are going to use native iOS/Android SDK - then you need to use XMPPFramework & Smack on mobile and Strophe.js (or xmpp.js) on web.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install node-xmpp-server
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page