You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
566 B
Markdown

4 years ago
# @modular-matrix/is-homeserver-url
[Validatem](https://validatem.cryto.net/) validator that checks whether a given value is a valid Matrix homeserver base URL.
Note that this __does not check if a homeserver actually exists at the URL__, it merely checks whether the URL *would* be valid for a homeserver address, from a protocol perspective.
---
Documentation for this module has not been written yet. By the time it reaches 1.0.0, it will have full documentation.
In the meantime, check out the `example.js` file in the repository for a usage demonstration.