# 101arrowz/fflate

High performance (de)compression in an 8kB package

Repository: https://github.com/101arrowz/fflate
Canonical: https://ross.abutalabs.com/products/fflate
Homepage: https://101arrowz.github.io/fflate
Language: TypeScript
License: MIT
License Family: permissive
Topics: compression, decompression, pako, zlib, high-performance, tiny
Last push: 2026-05-16T03:02:11+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 52, longevity 100
- inputs: {"age_days": 2195, "days_push": 109, "days_rel": 109, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2991, forks 123 (observed 2026-08-28T04:07:34.525495+00:00)

## What it is
fflate is a fast, tiny pure-JavaScript compression and decompression library supporting DEFLATE, GZIP, Zlib, and ZIP formats in roughly 8kB. It offers synchronous, asynchronous multi-threaded, and streaming APIs for both browsers and Node.js.

## Use cases
- compress and decompress gzip files in the browser
- create and read ZIP archives in JavaScript
- replace pako with a smaller, faster compression library
- decompress data in a web worker without blocking the UI
- stream large gzip files without loading them fully into memory
- bundle compression into a size-sensitive frontend app

## When to choose
- you need DEFLATE/GZIP/Zlib/ZIP support in JavaScript with a tiny bundle
- performance matters and you want multi-threaded or streaming compression
- you need a dependency-free alternative to pako or UZIP.js

## When to avoid
- you need compression algorithms beyond DEFLATE-family formats like Brotli or Zstandard
- you want a native C-level implementation with maximum throughput on the server

## Facets
- artifact type: library
- maturity: stable
- function: compression, serialization
- domain: web-development, developer-tools, files
- platform: browser, cross-platform
- tags: gzip, zip, deflate, zlib, tiny-bundle, typescript, nodejs

## Member repositories
- 101arrowz/fflate (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:34.525495+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-30T07:31:19.898494+00:00, confidence not recorded.
  - readme: https://github.com/101arrowz/fflate (fetched 2026-08-28T04:07:34.525495+00:00, sha d5d20bcd8277)
  - homepage: https://101arrowz.github.io/fflate (fetched 2026-08-29T09:46:21.160659+00:00, sha b44a4cf5a490)
  - registry_npm: https://registry.npmjs.org/fflate (fetched 2026-08-29T09:46:21.169860+00:00, sha 9a74e418364c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
