Testing page generation

This commit is contained in:
ZXY101
2023-08-03 10:08:04 +02:00
parent 00f438a290
commit 07e007aaa7
26 changed files with 564 additions and 92 deletions

8
src/lib/upload/index.ts Normal file
View File

@@ -0,0 +1,8 @@
import { BlobReader, ZipReader } from "@zip.js/zip.js";
export async function unzipManga(file: File) {
const zipFileReader = new BlobReader(file);
const zipReader = new ZipReader(zipFileReader);
return await zipReader.getEntries()
}