feat: Stream download, extract and parse datasets

This commit is contained in:
Lucàs
2024-09-28 16:19:43 +02:00
parent 5a00871319
commit ffc1ad3e84
32 changed files with 501 additions and 791 deletions
+12
View File
@@ -0,0 +1,12 @@
import { createGunzip } from "node:zlib";
import { Duplex } from "node:stream";
import { Archive } from "./";
class GzipArchive implements Archive {
public static instance: Archive = new GzipArchive();
public extract(source: string): Duplex {
return createGunzip();
}
}
export default GzipArchive;