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