New Hugo site in website/ with prosperon.dev theme (blue/gold/castle aesthetic), docs sidebar navigation, and content pages. Rewrote all doc files to align with the actual codebase: compositor+film2d rendering, use() modules (no global prosperon object), Pit language, script+JSON entity model. Added entities.md, front matter to all 70+ API docs, and updated API index for current module architecture. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
686 B
686 B
title, type
| title | type |
|---|---|
| miniz | docs |
miniz
read(data) function
Create a zip reader from the given ArrayBuffer containing an entire ZIP archive. Return undefined if the data is invalid.
data: An ArrayBuffer with the entire ZIP file.
Returns: A 'zip reader' object with methods for reading from the archive (mod, exists, slurp).
write(path) function
Create a zip writer that writes to the specified file path. Overwrites the file if it already exists. Return undefined on error.
path: The file path where the ZIP archive will be written.
Returns: A 'zip writer' object with methods for adding files to the archive (add_file).