Class Csv

Constructors

Methods

  • Accepts a csv string amd returns the JSON equivalent object.

    Type Parameters

    • T extends object

    Parameters

    • csv: string
    • headerKeys: (null | string)[]

      sequential array of keys for each header in the given csv

    Returns T[]

  • Accepts a json object and returns the CSV string equivalent.

    Parameters

    • headers: string[]
    • json: object

    Returns string

Generated using TypeDoc