mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2026-04-30 10:39:09 +00:00
changed defaults in csv generation
This commit is contained in:
@@ -11,10 +11,10 @@ type InputRows = RowObject[];
|
|||||||
|
|
||||||
export function generateCSVString(input: InputRows, opts: CSVOptions = {}): string {
|
export function generateCSVString(input: InputRows, opts: CSVOptions = {}): string {
|
||||||
const {
|
const {
|
||||||
delimiter = ",",
|
delimiter = ";",
|
||||||
headerOrder,
|
headerOrder,
|
||||||
eol = "\r\n",
|
eol = "\r\n",
|
||||||
includeBOM = false,
|
includeBOM = true,
|
||||||
nullString = "",
|
nullString = "",
|
||||||
} = opts;
|
} = opts;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user