Skip to content

Latest commit

 

History

History
107 lines (59 loc) · 2.25 KB

CSVTableRenderer.md

File metadata and controls

107 lines (59 loc) · 2.25 KB

@felisdiligens/md-table-tools / Exports / CSVTableRenderer

Class: CSVTableRenderer

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CSVTableRenderer(separator?, quote?, lineBreak?, mode?)

Parameters

Name Type Default value
separator string ","
quote string "\""
lineBreak string "\r\n"
mode CSVTableRendererMode CSVTableRendererMode.EscapeWithQuotes

Defined in

tables/csvTable.ts:91

Properties

lineBreak

lineBreak: string = "\r\n"

Defined in

tables/csvTable.ts:94


mode

mode: CSVTableRendererMode = CSVTableRendererMode.EscapeWithQuotes

Defined in

tables/csvTable.ts:95


quote

quote: string = "\""

Defined in

tables/csvTable.ts:93


separator

separator: string = ","

Defined in

tables/csvTable.ts:92

Methods

render

render(table): string

Parameters

Name Type
table Table

Returns

string

Implementation of

TableRenderer.render

Defined in

tables/csvTable.ts:97