{"id":15865967,"url":"https://github.com/aslilac/unz","last_synced_at":"2025-10-13T14:18:29.476Z","repository":{"id":41886322,"uuid":"152660109","full_name":"aslilac/unz","owner":"aslilac","description":"A lightweight and portable library for reading ZIP archives","archived":false,"fork":false,"pushed_at":"2024-12-17T18:24:40.000Z","size":2443,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-02-27T04:46:30.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aslilac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["aslilac"]}},"created_at":"2018-10-11T21:50:17.000Z","updated_at":"2024-11-29T18:52:14.000Z","dependencies_parsed_at":"2024-11-24T02:15:39.131Z","dependency_job_id":null,"html_url":"https://github.com/aslilac/unz","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslilac%2Funz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslilac%2Funz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslilac%2Funz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslilac%2Funz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aslilac","download_url":"https://codeload.github.com/aslilac/unz/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801635,"owners_count":20350107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["zip"],"created_at":"2024-10-05T23:02:34.369Z","updated_at":"2025-10-13T14:18:24.443Z","avatar_url":"https://github.com/aslilac.png","language":"TypeScript","funding_links":["https://github.com/sponsors/aslilac"],"categories":[],"sub_categories":[],"readme":"# unz\n\nA lightweight package for reading ZIP files, using native Web APIs like `ArrayBuffer` and `DecompressionStream`. It's lightweight (about 2KB compressed) and works in all modern browsers, Node, and Deno, without any dependencies.\n\n## Usage\n\n```javascript\nimport unz from \"unz\";\n\n// Log the file name and the first 10 bytes of every file in the ZIP archive.\nconst archive = unz(await file.arrayBuffer());\nfor (const [fileName, archiveFile] of archive) {\n\tconsole.log(fileName, new Uint8Array(await archiveFile.arrayBuffer(), 0, 10));\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslilac%2Funz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faslilac%2Funz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslilac%2Funz/lists"}