Validates that the given description for a community meets the validation requirements:
The community's description.
Validates that the given string is a valid email address.
An email address to validate.
Validates that the given name meets the validation requirements:
This function is used for names belonging to both users and communities.
A name to validate.
Validates that the given password meets the strength requirements.
This check does not use any hard coded rules, but rather uses a heuristic to measure how good a password is.
A password to validate.
Validates that the given username/ID meets the validation requirements:
This function is used for usernames/IDs belonging to both users and communities.
A username/ID to validate.
Generated using TypeDoc
@unifed/shared
This package is a collection of functions used across the frontend and backend. Primarily, these are validation functions, however any code intended for use across the whole platform should be included here.