#Decompressing large .gz file
3 messages · Page 1 of 1 (latest)
So you'd want https://developer.mozilla.org/en-US/docs/Web/API/DecompressionStream to decompress
Then to parse and go through the csv, any regular node lib should work
Hi @fading mason, if you run into subrequest limits when streaming and calling the D1 client api from your worker, you might consider using D1 import which can upload and then import larger SQL files.
https://developers.cloudflare.com/api/operations/cloudflare-d1-import-database
Interact with Cloudflare's products and services via the Cloudflare API