Interface CsvRead

What readCsv answers.

interface CsvRead {
    markdown: string;
    rows: number;
    columns: number;
    separator: CsvSeparator;
    cut: boolean;
    breaksMadeSpaces: boolean;
    empty: boolean;
}

Properties

markdown: string

One table block: the first row as the header, a separator line, then the rows; a cell is one line, its line breaks made spaces and its bars made slashes, its characters escaped where they would read as a mark. '' with no row.

rows: number

The rows the table holds, its header row among them.

columns: number

The columns the table holds.

separator: CsvSeparator

The separator the text was read with.

cut: boolean

True when rows or columns past the bounds were left out.

breaksMadeSpaces: boolean

True when a line break inside a quoted cell the table holds was made a space.

empty: boolean

True for a text with no row.