You can tell to use any A compatible promise implemention like this: There are already many validation libraries out there today but most of them are very tightly coupled to a language or framework.
The goal of is to provide a cross framework and cross language way of validating data.
Note carefully though - this parser supports all features of RFC 5322, which means that , etc.) These values try to be smart about collapsing whitespace, quotations, and excluding RFC 5322 comments.
If you desire, you can also obtain the raw parsed tokens or semantic tokens for those fields.
However, it attempts to parse addresses using the (fairly liberal) grammar specified in RFC 5322.