Documentation Index
Fetch the complete documentation index at: https://starrycodes.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
🔒 Security Checks
isPasswordValid({int minLength, int minUppercase, int minNumbers, int minSpecialChars})
Checks if the string meets customizable password complexity requirements (length, uppercase, numbers, special characters).
The minimum required length of the password.
The minimum required number of uppercase letters.
The minimum required number of numerical digits.
The minimum required number of special characters (!@#$%^&*, etc.).
// Requires 8+ chars, 1+ uppercase, 1+ number, 1+ special char
print('P@sswOrd1'.isPasswordValid()); // true
Checks if the string is a valid, unexpired JSON Web Token (JWT). Verifies structure, decodes payload, and checks the exp (expiry time) field.final validToken = 'header.payload.signature';
print(validToken.isValidJWT()); // true (if not expired)
This does NOT verify the signature for authenticity.
📧 General Format Checks
Checks if the string conforms to a standard email address format (user@domain.tld).print('test@example.com'.isEmailValid()); // true
print('test@example'.isEmailValid()); // false
Checks if the string is a valid URL format, covering common protocols (http, https) and TLDs.print('[https://www.google.com](https://www.google.com)'.isValidURL()); // true
print('www.example'.isValidURL()); // false