Skip to content

repair all 'c2fo.io' links ('c2fo.github.io') #2324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2203,7 +2203,7 @@ Options supported when reading CSV files.
| dateFormats | N | Array | Specify the date encoding format of dayjs. |
| map | N | Function | Custom Array.prototype.map() callback function for processing data. |
| sheetName | N | String | Specify worksheet name. |
| parserOptions | N | Object | [parseOptions options](https://c2fo.io/fast-csv/docs/parsing/options) @fast-csv/format module to write csv data. |
| parserOptions | N | Object | [parseOptions options](https://c2fo.github.io/fast-csv/docs/parsing/options) @fast-csv/format module to write csv data. |

```javascript
// read from a file
Expand Down Expand Up @@ -2246,7 +2246,7 @@ const options = {
return parseFloat(value);
}
},
// https://c2fo.io/fast-csv/docs/parsing/options
// https://c2fo.github.io/fast-csv/docs/parsing/options
parserOptions: {
delimiter: '\t',
quote: false,
Expand Down Expand Up @@ -2282,7 +2282,7 @@ Options supported when writing to a CSV file.
| map | N | Function | Custom Array.prototype.map() callback function for processing row values. |
| sheetName | N | String | Specify worksheet name. |
| sheetId | N | Number | Specify worksheet ID. |
| formatterOptions | N | Object | [formatterOptions options](https://c2fo.io/fast-csv/docs/formatting/options/) @fast-csv/format module to write csv data. |
| formatterOptions | N | Object | [formatterOptions options](https://c2fo.github.io/fast-csv/docs/formatting/options/) @fast-csv/format module to write csv data. |

```javascript

Expand Down Expand Up @@ -2323,7 +2323,7 @@ const options = {
return value;
}
},
// https://c2fo.io/fast-csv/docs/formatting/options
// https://c2fo.github.io/fast-csv/docs/formatting/options
formatterOptions: {
delimiter: '\t',
quote: false,
Expand Down
8 changes: 4 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,7 @@ const buffer = await workbook.xlsx.writeBuffer();
| dateFormats | N | Array | 指定 dayjs 的日期编码格式。 |
| map | N | Function | 自定义`Array.prototype.map()` 回调函数,用于处理数据。 |
| sheetName | N | String | 指定工作表名称。 |
| parserOptions | N | Object | [parseOptions 选项](https://c2fo.io/fast-csv/docs/parsing/options) @fast-csv/format 模块以写入 csv 数据。 |
| parserOptions | N | Object | [parseOptions 选项](https://c2fo.github.io/fast-csv/docs/parsing/options) @fast-csv/format 模块以写入 csv 数据。 |

```javascript
// 从文件读取
Expand Down Expand Up @@ -2132,7 +2132,7 @@ const options = {
return parseFloat(value);
}
},
// https://c2fo.io/fast-csv/docs/parsing/options
// https://c2fo.github.io/fast-csv/docs/parsing/options
parserOptions: {
delimiter: '\t',
quote: false,
Expand Down Expand Up @@ -2165,7 +2165,7 @@ CSV 解析器使用 [fast-csv](https://www.npmjs.com/package/fast-csv) 读取CSV
| map | N | Function | 自定义`Array.prototype.map()` 回调函数,用于处理行值。 |
| sheetName | N | String | 指定工作表名称。 |
| sheetId | N | Number | 指定工作表 ID。 |
| formatterOptions | N | Object | [formatterOptions 选项](https://c2fo.io/fast-csv/docs/formatting/options/) @fast-csv/format 模块写入csv 数据。 |
| formatterOptions | N | Object | [formatterOptions 选项](https://c2fo.github.io/fast-csv/docs/formatting/options/) @fast-csv/format 模块写入csv 数据。 |

```javascript

Expand Down Expand Up @@ -2205,7 +2205,7 @@ const options = {
return value;
}
},
// https://c2fo.io/fast-csv/docs/formatting/options
// https://c2fo.github.io/fast-csv/docs/formatting/options
formatterOptions: {
delimiter: '\t',
quote: false,
Expand Down
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ export interface Xlsx {
write(stream: import('stream').Stream, options?: Partial<XlsxWriteOptions>): Promise<void>;
}

// https://c2fo.io/fast-csv/docs/parsing/options
// https://c2fo.github.io/fast-csv/docs/parsing/options

type HeaderArray = (string | undefined | null)[];
type HeaderTransformFunction = (headers: HeaderArray) => HeaderArray;
Expand Down Expand Up @@ -1536,7 +1536,7 @@ interface RowTransformFunction {
(row: Rows): Rows;
}

// https://c2fo.io/fast-csv/docs/formatting/options/
// https://c2fo.github.io/fast-csv/docs/formatting/options/
export interface FastCsvFormatterOptionsArgs {
objectMode: boolean;
delimiter: string;
Expand Down