0.12.1 • Published 2 years ago

unzzz v0.12.1

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

unzzz

A lightweight package for reading .zip files, using native Web APIs like ArrayBuffer and DecompressionStream and Iterator.

It focuses on being lightweight and portable; working in modern browsers, Node, and Deno, without any dependencies.

Usage

import unzzz from "unzzz";

const archive = unzzz(await file.arrayBuffer());

for await (const archiveFile of archive) {
	// Log the file name, and the first 10 bytes of each file in the archive
	console.log(
		archiveFile.fileName,
		new Uint8Array(await archiveFile.arrayBuffer(), 0, 10),
	);
}
0.12.0

2 years ago

0.12.1

2 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.0

5 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago