Options
All
  • Public
  • Public/Protected
  • All
Menu

Used for parsing the data/enron.zip file.

internal

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

Private getBody

  • getBody(message: string): string
  • Messages are in the following format:

    Subject: need your vics ?
    brand name meds such as vics , vals , xanies and others
    3 why not check it out ?
    

    This method removes the Subject: line and also any empty lines.

    Parameters

    • message: string

      The message to extract the body from.

    Returns string

    The message body.

getMessages

  • getMessages(): Promise<Message[]>

Generated using TypeDoc