Function parseContent

  • Parse almost anything into a Buffer that resolves to a string

    Parameters

    • content: Content
    • prettify: boolean = false
    • Optional logger: default

    Returns Promise<{
        content: ArrayBuffer;
        headers: Record<string, string>;
    }>

    Since

    5.0.0