Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "email"

Index

Variables

Const PUBLIC_DOMAINS

PUBLIC_DOMAINS: string[] = ['google', 'gmail', 'yahoo', 'reddif', 'hotmail', 'outlook', 'gmx','msnmail', 'facebook', 'ymail', 'aolmail', 'fastmail', 'hushmail', 'runbox']

Const SUB_DOMAINS

SUB_DOMAINS: string[] = ['com', 'ca', 'in', 'fa', 'org', 'net', 'es', 'cs', 'eu']

Functions

Const email

  • Generates Random Email Id based on given parameters

    • Default options will be empty javaScript Object
    • If Company Domain if Off, then Public domain will be used by default
    • Refer ./username.ts for more details

    Parameters

    Returns string

Const emailDefaults

Const replaceSpecial

  • replaceSpecial(value: string, replaceWith?: string): string
  • Parameters

    • value: string
    • Default value replaceWith: string = ""

    Returns string

Generated using TypeDoc