Function createCsvFileToJsonStream

  • 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