{"id":18345408,"url":"https://github.com/jsxc/xmpp-connection-discovery-node","last_synced_at":"2026-06-21T01:04:54.770Z","repository":{"id":55233083,"uuid":"118742962","full_name":"jsxc/xmpp-connection-discovery-node","owner":"jsxc","description":":mag: Use RFC6120 and XEP-0156 to get XMPP connection services","archived":false,"fork":false,"pushed_at":"2021-01-06T02:08:23.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-15T14:24:18.098Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsxc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-24T09:29:24.000Z","updated_at":"2020-06-11T23:46:49.000Z","dependencies_parsed_at":"2022-08-14T17:21:05.082Z","dependency_job_id":null,"html_url":"https://github.com/jsxc/xmpp-connection-discovery-node","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsxc%2Fxmpp-connection-discovery-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsxc%2Fxmpp-connection-discovery-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsxc%2Fxmpp-connection-discovery-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsxc%2Fxmpp-connection-discovery-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsxc","download_url":"https://codeload.github.com/jsxc/xmpp-connection-discovery-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248122490,"owners_count":21051290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T21:08:09.490Z","updated_at":"2026-06-21T01:04:49.743Z","avatar_url":"https://github.com/jsxc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/xmpp-connection-discovery.svg)](https://www.npmjs.com/package/xmpp-connection-discovery)\n\n# XMPP connection discovery\n:mag: Use RFC6120 and XEP-0156 to discover XMPP connection services.\n\n## Features\n- [Query SRV records](https://tools.ietf.org/html/rfc6120#section-3.2.1)\n- [Query TXT records](https://xmpp.org/extensions/xep-0156.html#dns)\n- [Query Host Metadata](https://xmpp.org/extensions/xep-0156.html#http)\n\n## How to use\nInstall this module as usual with `yarn add xmpp-connection-discovery` and import the script:\n```\nconst discoverXMPPServices = require('xmpp-connection-discovery');\n```\n\nDiscover TCP, websocket and BOSH services like this:\n```\ndiscoverXMPPServices('your.domain').then((services) =\u003e {\n   console.log(services);\n\n   /* { tcp: [ { server: 'xmpp.your.domain', port: 5222 } ],\n  xbosh: [ { server: 'https://xmpp.your.domain:5280/http-bind' } ] } */\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsxc%2Fxmpp-connection-discovery-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsxc%2Fxmpp-connection-discovery-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsxc%2Fxmpp-connection-discovery-node/lists"}