Function saveJsonStreamAsCsv

  • Saves JSON stream as CSV file

    Parameters

    • readableStream: Readable

      Readable stream of JSON objects

    • filePath: string

      Path to save CSV file

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

      Conversion options

    Returns Promise<void>

    Promise