Interface RecordAssemblerOptions<Header>

Record Assembler Options for CSV.

Remarks

If you specify header: ['foo', 'bar'], the first record will be treated as a normal record.

If you don't specify header, the first record will be treated as a header.

interface RecordAssemblerOptions<Header> {
    header?: Header;
}

Type Parameters

  • Header extends ReadonlyArray<string>

Hierarchy (view full)

Properties

Properties

header?: Header

CSV header.

Remarks

If you specify this option, the first record will be treated as a normal record.

If you don't specify this option, the first record will be treated as a header.

Default

undefined