1.2.20 • Published 5 months ago
@yutaura/csv-batch-reader v1.2.20
@yutaura/csv-batch-reader
Description
This is a library for reading CSV files in batch.
import { csvBatchRead } from '@yutaura/csv-batch-reader';
await csvBatchRead(
'path/to/csv-file.csv',
100, // batch size
async (headers) => {
// do something with headers
},
async (batch) => {
// do something with batch
for (const row of batch) {
// do something with row
console.log(row);
}
},
);
Installation
pnpm install @yutaura/csv-batch-reader
License
MIT
Funding
If you like this library, please consider supporting me on GitHub Sponsors
1.2.20
5 months ago
1.2.19
5 months ago
1.2.18
6 months ago
1.2.17
6 months ago
1.2.13
7 months ago
1.2.16
6 months ago
1.2.14
6 months ago
1.2.15
6 months ago
1.2.12
7 months ago
1.2.11
8 months ago
1.2.10
8 months ago
1.2.9
8 months ago
1.2.8
9 months ago
1.2.7
9 months ago
1.2.6
9 months ago
1.2.5
9 months ago
1.2.4
9 months ago
1.2.3
9 months ago
1.2.2
10 months ago
1.2.1
11 months ago
1.2.0
11 months ago
1.1.0
11 months ago
1.0.0
11 months ago
0.0.0-1
11 months ago
0.0.0-0
11 months ago