# nodeca/pako

high speed zlib port to javascript, works in browser & node.js

Repository: https://github.com/nodeca/pako
Canonical: https://ross.abutalabs.com/products/pako
Homepage: https://nodeca.github.io/pako/
Language: JavaScript
License: MIT
License Family: permissive
Topics: zlib, zlib-port
Last push: 2026-08-13T03:54:29+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4603, "days_push": 20, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6111, forks 800 (observed 2026-08-28T04:09:35.988223+00:00)

## What it is
Pako is a fast JavaScript port of the zlib compression library, providing deflate, inflate, and gzip compression with binary-equivalent output to native zlib. It works in both browsers and Node.js with a small bundle size and streaming chunked API.

## Use cases
- compress data in the browser with gzip/deflate
- decompress gzip responses in JavaScript
- compress data in Node.js without native modules
- produce zlib-identical deflate output in JavaScript
- stream-compress large data chunk by chunk
- compress stringified JSON before sending to a server

## When to choose
- you need zlib-compatible compression in the browser
- you want to avoid native dependencies in Node.js
- bundle size matters and you need a tiny compression library
- you need byte-identical output to native zlib

## When to avoid
- you are in Node.js and native zlib performance is sufficient
- you need compression algorithms other than deflate/gzip
- maximum compression/decompression throughput is critical

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

## Member repositories
- nodeca/pako (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:35.988223+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-29T17:48:11.588992+00:00, confidence not recorded.
  - readme: https://github.com/nodeca/pako (fetched 2026-08-28T04:09:35.988223+00:00, sha 962216a44cbd)
  - homepage: https://nodeca.github.io/pako/ (fetched 2026-08-29T08:44:52.176521+00:00, sha 4965d424e4f6)
  - registry_npm: https://registry.npmjs.org/pako (fetched 2026-08-29T08:44:52.179550+00:00, sha 43d6bdf38d63)
- Data as of 2026-08-30T08:39:29.467469+00:00.
