# imaya/zlib.js

compact zlib, deflate, inflate, zip library in JavaScript

Repository: https://github.com/imaya/zlib.js
Canonical: https://ross.abutalabs.com/products/zlibjs
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2022-07-13T11:17:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5253, "days_push": 1512, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1140, forks 345 (observed 2026-08-28T04:03:44.429094+00:00)

## What it is
A pure JavaScript implementation of ZLIB (RFC1950), DEFLATE (RFC1951), GZIP (RFC1952), and PKZIP compression formats. It is split into modular builds so users can include only the compression or decompression features they need.

## Use cases
- compress data to zlib format in the browser
- inflate zlib-compressed data in javascript
- create gzip files in node.js without native dependencies
- build zip archives in javascript
- decompress gzip streams in the browser
- raw deflate compression for web apps

## When to choose
- you need compression in pure JavaScript without native modules
- you target browsers where Node's zlib is unavailable
- you need fine-grained control over deflate compression types
- you want to create or read zip archives in JS

## When to avoid
- you need maximum compression performance (native zlib is faster)
- you need full GZIP feature support, as the GZIP implementation is incomplete
- you need actively developed software with recent maintenance
- you need a license with clear terms (license is non-standard)

## Facets
- artifact type: library
- maturity: maintenance
- function: compression, serialization
- domain: files, web-development, developer-tools
- platform: browser, cross-platform
- tags: zlib, deflate, inflate, gzip, zip, javascript, pure-js, nodejs

## Member repositories
- imaya/zlib.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.429094+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:35:31.022825+00:00, confidence not recorded.
  - readme: https://github.com/imaya/zlib.js (fetched 2026-08-28T04:03:44.429094+00:00, sha b1b3dd5b6211)
- Data as of 2026-08-30T08:39:29.467469+00:00.
