1.2.20 • Published 6 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
6 months ago
1.2.19
7 months ago
1.2.18
7 months ago
1.2.17
7 months ago
1.2.13
8 months ago
1.2.16
7 months ago
1.2.14
7 months ago
1.2.15
7 months ago
1.2.12
8 months ago
1.2.11
9 months ago
1.2.10
9 months ago
1.2.9
9 months ago
1.2.8
10 months ago
1.2.7
10 months ago
1.2.6
10 months ago
1.2.5
10 months ago
1.2.4
10 months ago
1.2.3
10 months ago
1.2.2
12 months ago
1.2.1
12 months ago
1.2.0
12 months ago
1.1.0
12 months ago
1.0.0
12 months ago
0.0.0-1
12 months ago
0.0.0-0
12 months ago