@expo/account-names
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @expo/account-names

Weekly Downloads

53

Version

1.1.0

License

MIT

Unpacked Size

10 kB

Total Files

7

Last publish

Collaborators

  • fiber-god
  • betoatexpo
  • ide
  • brentvatne
  • evanbacon
  • quinlanj
  • expoadmin
  • tsapeta
  • exponent
  • wschurman
  • bycedric
  • lukmccall
  • jonsamp
  • princefleaswallow
  • kudochien
  • keith-kurak
  • alanhughes
  • simek
  • gabrieldonadel
  • douglowder
  • kadikraman
  • aleqsio
  • radoslawkrzemien
  • expo-bot
  • philpl
  • marklawlor
  • colinmackenzie