🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

jxt-xmpp-types

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jxt-xmpp-types

XMPP type definitions for JXT

latest
npmnpm
Version
3.0.0
Version published
Maintainers
2
Created
Source

jxt-xmpp-types

What is this?

A set of additional data types for JXT useful for working with XMPP data.

API

  • jidAttribute(attrName, prepped)

Work with attributes with XMPP JID values. If the prepped flag is set to true, then the JID will be treated as having been processed with StringPrep.

  • jidSub(ns, subName, prepped)

Work with sub-elements with XMPP JIDs as text content. If the prepped flag is set to true, then the JID will be treated as having been processed with StringPrep.

  • tzoSub(ns, subName)

Return an integer value compatible with JavaScripts datetime API, for child elements whose text content looks like: '[+|-]hh:mm'

License

MIT

Created By

If you like this, follow @lancestout on twitter.

FAQs

Package last updated on 02 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts