Parse and handle XMPP/Jabber Identifiers.
var JID = require("jid");
var myJID = new JID("[email protected]/bla");
myJID.local // "foo"
myJID.domain // "bar.baz.tld"
myJID.resource // "bla"
myJID.toString() // "[email protected]/bla"
myJID.bare().toString() // "[email protected]"
npm i --save jid
npm t
npm run compile
npm run pack