API reference › @evolu/common › Type › UrlSafeString
const UrlSafeString: regex(
"UrlSafeString",
/^[A-Za-z0-9_-]+$/u,
)(String);
Defined in: packages/common/src/Type.ts:5685
Non-empty URL-safe String.
Accepts ASCII letters, digits, -, and _. This is the same alphabet used
by Base64Url, but a UrlSafeString is not proof that the text contains
valid Base64Url-encoded bytes.