您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
 
Sven Slootweg 816c49d856 Initial commit 4 年前
.gitignore Initial commit 4 年前
README.md Initial commit 4 年前
example.js Initial commit 4 年前
index.js Initial commit 4 年前
package.json Initial commit 4 年前
yarn.lock Initial commit 4 年前

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.