harvard-lil / js-wacz

JavaScript module and CLI tool for working with web archive data using the WACZ format specification.
MIT License
13 stars 3 forks source link

WACZ reading / streaming #16

Open matteocargnelutti opened 1 year ago

matteocargnelutti commented 1 year ago

(Suggested by @ikreymer)

Add a command and associated API for reading and streaming the contents WACZ files, either locally or remotely.

See: https://www.npmjs.com/package/unzipit

matteocargnelutti commented 1 year ago

(Suggested by @rebeccacremona)

This feature should allow for specialized / simplified extractions such as:

ikreymer commented 1 year ago

Previously also prototyped a very simple zip (not wacz) loader that can stream a file from zip, mostly using it myself, but recently put it up here: https://github.com/ikreymer/loadzip/blob/main/index.js

Agreed WACZ-specific semantics would be very useful to have as well!