UNPKG

@cull/pore

Version:

An email data analysis library.

21 lines (20 loc) 484 B
import { Address } from '@cull/imap'; /** * The value and isolated components of a singular from/to header field value (i.e. email address). * * e.g. `Jaclyn <jaclyn@mx.cull.email>` would be represented as: * ``` * { * name: "Jaclyn", * address: "jaclyn@mx.cull.email" * domain: "cull.email" * } * ``` */ export default class Identity { name?: string; address: string; domain: string; constructor(address: Address); toString(): string; }