strophejs-plugin-caps

1.1.3 • Public • Published

strophe.caps.js

Plugin for strophe.js to provide XMPP Entity Capabilities (XEP-0115).

Usage

Adding features

connection.caps.add( "myfeature" );

Removing features

connection.caps.remove( "myfeature" );

Sending presence

conncection.caps.pres( attrs );

See strophe.disco.js for more info.

Authors

Legacy

An older version of this plugin is included in this package /strophe.CAPS.js, build from CoffeScript. This is no longer maintained and will likely be removed in the future.

Readme

Keywords

none

Package Sidebar

Install

npm i strophejs-plugin-caps

Weekly Downloads

524

Version

1.1.3

License

MIT

Unpacked Size

39.4 kB

Total Files

9

Last publish

Collaborators

  • jcbrand
  • strophe-admin
  • sualko
  • omichelsen