@@ -1713,7 +1713,7 @@ The exported `read` and `readFile` functions accept an options argument:
1713
1713
for files employing other encryption methods.
1714
1714
- WTF is mainly for development. By default, the parser will suppress read
1715
1715
errors on single worksheets, allowing you to read from the worksheets that do
1716
- parse properly. Setting ` WTF:1 ` forces those errors to be thrown.
1716
+ parse properly. Setting ` WTF:true ` forces those errors to be thrown.
1717
1717
1718
1718
### Input Type
1719
1719
@@ -2140,18 +2140,20 @@ For the example sheet:
2140
2140
As an alternative to the ` writeFile ` CSV type, ` XLSX.utils.sheet_to_csv ` also
2141
2141
produces CSV output. The function takes an options argument:
2142
2142
2143
- | Option Name | Default | Description |
2144
- | :----------- | :------: | :-------------------------------------------------- |
2145
- | ` FS ` | ` "," ` | "Field Separator" delimiter between fields |
2146
- | ` RS ` | ` "\n" ` | "Record Separator" delimiter between rows |
2147
- | ` dateNF ` | FMT 14 | Use specified date format in string output |
2148
- | ` strip ` | false | Remove trailing field separators in each record ** |
2149
- | ` blankrows ` | true | Include blank lines in the CSV output |
2150
- | ` skipHidden ` | false | Skips hidden rows/columns in the CSV output |
2151
- | ` forceQuotes ` | false | Force quotes around fields |
2143
+ | Option Name | Default | Description |
2144
+ | :----------- | :------: | :------------------------------------------------- |
2145
+ | ` FS ` | ` "," ` | "Field Separator" delimiter between fields |
2146
+ | ` RS ` | ` "\n" ` | "Record Separator" delimiter between rows |
2147
+ | ` dateNF ` | FMT 14 | Use specified date format in string output |
2148
+ | ` strip ` | false | Remove trailing field separators in each record ** |
2149
+ | ` blankrows ` | true | Include blank lines in the CSV output |
2150
+ | ` skipHidden ` | false | Skips hidden rows/columns in the CSV output |
2151
+ | ` forceQuotes ` | false | Force quotes around fields |
2152
2152
2153
2153
- ` strip ` will remove trailing commas from each line under default ` FS/RS `
2154
2154
- ` blankrows ` must be set to ` false ` to skip blank lines.
2155
+ - Fields containing the record or field separator will automatically be wrapped
2156
+ in double quotes; ` forceQuotes ` forces all cells to be wrapped in quotes.
2155
2157
2156
2158
<details >
2157
2159
<summary ><b >Examples</b > (click to show)</summary >
0 commit comments