@expo/account-names
v1.1.0
Published
A validation library for Expo account names
Downloads
1,929
Maintainers
Keywords
Readme
@expo/account-names
A small library that validates Expo account names.
The current rules are:
- At least three characters
- Fewer than 128 characters
- Contains only Latin letters, numbers, periods, underscores, and hyphens
- Starts with a letter or number and ends with a letter or number (no trailing punctuation)
- No consecutive punctuation characters
These rules have changed over time. Thus, there exist valid accounts with now-invalid names, and name validation needs to run only when choosing a name, not when loading an account or logging in.