Skip to content

Commit b392ec5

Browse files
justintunev7Justin Hendrickson
andauthored
repair all 'c2fo.io' links ('c2fo.github.io') (#2324)
Co-authored-by: Justin Hendrickson <[email protected]>
1 parent 804775a commit b392ec5

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2203,7 +2203,7 @@ Options supported when reading CSV files.
22032203
| dateFormats | N | Array | Specify the date encoding format of dayjs. |
22042204
| map | N | Function | Custom Array.prototype.map() callback function for processing data. |
22052205
| sheetName | N | String | Specify worksheet name. |
2206-
| parserOptions | N | Object | [parseOptions options](https://c2fo.io/fast-csv/docs/parsing/options) @fast-csv/format module to write csv data. |
2206+
| parserOptions | N | Object | [parseOptions options](https://c2fo.github.io/fast-csv/docs/parsing/options) @fast-csv/format module to write csv data. |
22072207

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

22872287
```javascript
22882288

@@ -2323,7 +2323,7 @@ const options = {
23232323
return value;
23242324
}
23252325
},
2326-
// https://c2fo.io/fast-csv/docs/formatting/options
2326+
// https://c2fo.github.io/fast-csv/docs/formatting/options
23272327
formatterOptions: {
23282328
delimiter: '\t',
23292329
quote: false,

README_zh.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,7 @@ const buffer = await workbook.xlsx.writeBuffer();
20892089
| dateFormats | N | Array | 指定 dayjs 的日期编码格式。 |
20902090
| map | N | Function | 自定义`Array.prototype.map()` 回调函数,用于处理数据。 |
20912091
| sheetName | N | String | 指定工作表名称。 |
2092-
| parserOptions | N | Object | [parseOptions 选项](https://c2fo.io/fast-csv/docs/parsing/options) @fast-csv/format 模块以写入 csv 数据。 |
2092+
| parserOptions | N | Object | [parseOptions 选项](https://c2fo.github.io/fast-csv/docs/parsing/options) @fast-csv/format 模块以写入 csv 数据。 |
20932093

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

21702170
```javascript
21712171

@@ -2205,7 +2205,7 @@ const options = {
22052205
return value;
22062206
}
22072207
},
2208-
// https://c2fo.io/fast-csv/docs/formatting/options
2208+
// https://c2fo.github.io/fast-csv/docs/formatting/options
22092209
formatterOptions: {
22102210
delimiter: '\t',
22112211
quote: false,

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ export interface Xlsx {
14951495
write(stream: import('stream').Stream, options?: Partial<XlsxWriteOptions>): Promise<void>;
14961496
}
14971497

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

15001500
type HeaderArray = (string | undefined | null)[];
15011501
type HeaderTransformFunction = (headers: HeaderArray) => HeaderArray;
@@ -1536,7 +1536,7 @@ interface RowTransformFunction {
15361536
(row: Rows): Rows;
15371537
}
15381538

1539-
// https://c2fo.io/fast-csv/docs/formatting/options/
1539+
// https://c2fo.github.io/fast-csv/docs/formatting/options/
15401540
export interface FastCsvFormatterOptionsArgs {
15411541
objectMode: boolean;
15421542
delimiter: string;

0 commit comments

Comments
 (0)