Noiseless Praying Mantis
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    node-xmpp-componentpublic

    node-xmpp-component

    XMPP component for Node.js

    build status js-standard-style

    Manual

    Please see http://node-xmpp.org/doc/component.html for instructions on how to use node-xmpp-component.

    Installation

    Note: We now only support nodejs versions 0.8.0 and greater.

    With package manager npm:

    npm install node-xmpp-component
    

    Testing

    Install the dev dependencies, then...

    npm test
    

    Also see the tests run in travis. The tests in travis run both the code and code style tests.

    Integration tests

    There are also a small number of integration tests designed to be run against Prosody. To run these ensure the user the test is run as has sudo access. Copy the prosody configuration file from test/resources/prosody.cfg.lua to /etc/prosody/prosody.cfg.lua.

    How to use

    Please see the various examples.

    Objectives of node-xmpp:

    • Use node.js conventions, especially EventEmitter, ie. for write buffer control
    • Client support for both XMPP clients and components

    Features

    Dependencies

    install

    npm i node-xmpp-component

    Downloadsweekly downloads

    346

    version

    2.0.9

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar