Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Sven Slootweg 816c49d856 | pirms 4 gadiem | |
---|---|---|
.gitignore | pirms 4 gadiem | |
README.md | pirms 4 gadiem | |
example.js | pirms 4 gadiem | |
index.js | pirms 4 gadiem | |
package.json | pirms 4 gadiem | |
yarn.lock | pirms 4 gadiem |
README.md
@modular-matrix/is-homeserver-url
Validatem 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.