Function csvFileToJsonStream

Use createCsvFileToJsonStream() instead. Removed in jtcsv 5.0.

  • Creates a CSV file to JSON stream pipeline

    Parameters

    • filePath: string

      Path to CSV file

    • options: CsvToJsonStreamOptions & { validatePath?: boolean } = {}

      Conversion options

    Returns Promise<Readable>

    Readable stream of JSON objects