parse-email-address - v0.0.2
    Preparing search index...

    Type Alias ParsedEmailAddress

    Output from parseEmailAddress.

    Note that parseEmailAddress will return undefined instead of this if its input is not a valid email address.

    type ParsedEmailAddress = {
        domain: string;
        full: string;
        user: string;
    }
    Index

    Properties

    Properties

    domain: string

    The "domain" or "address" part of the email address. (Everything to the right of the unquoted @.)

    'example.org' from 'simple@example.org'
    
    full: string

    The entire original email address.

    'simple@example.org' from 'simple@example.org'
    
    user: string

    The "user" or "local" part of an email address. (Everything to the left of the unquoted @.)

    'simple' from 'simple@example.org'