16 lines
355 B
JavaScript
16 lines
355 B
JavaScript
import fs from 'fs/promises'
|
|
import fg from 'fast-glob'
|
|
import StreamZip from 'node-stream-zip'
|
|
import TestingTrend from './parser/testing-trend.js'
|
|
|
|
async function main() {
|
|
const sources = await fg(['./data/raw/*.zip'])
|
|
sources.sort()
|
|
|
|
const zips = sources.map(source => new StreamZip.async({ file: source }))
|
|
|
|
await TestingTrend(zips)
|
|
}
|
|
|
|
main()
|