Elestia Open Source Ratings
6.9

pako

Reasonable, with limits. 3rd of 9 zip and compression.

pako is a long-standing pure-JavaScript port of zlib for deflate, inflate and gzip in browsers and Node. Version 3 is new and has types, and pako still writes output byte-for-byte the same as zlib. It handles only raw compression, not zip or tar. For new work, the platform's own CompressionStream or fflate is usually smaller or faster.

Best for: Projects that need synchronous, zlib-exact deflate/gzip output in the browser or in a cross-runtime library.

WebsiteGitHubnpm

Scores

Overall6.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

pako is a safe, maintained and well-proven zlib port, and it is the right pick when you need zlib-exact bytes or a synchronous API. For most new projects, fflate does the same job smaller and faster, adds zip support, and grows faster. Native CompressionStream covers the basic case with no dependency. That keeps pako a reasonable choice with clear limits.

GPT-6.2 Sol: 7.7, likely 6.6 to 8.8

pako is a strong new-project choice when portable zlib behavior, gzip integrity checks, or concatenated gzip matter. fflate covers more ground when one dependency needs to handle both ZIP and gzip, and zip.js is a better fit for advanced ZIP work. Recent releases support choosing pako today, while the earlier release gap and the limited adoption evidence for v3 keep the range wide.

Needed by many4.8

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Raw deflate/gzip in JavaScript is a clear but limited need, mostly browser apps and libraries that work across runtimes. Node has built-in zlib, and modern browsers have CompressionStream, which narrows the need further. It also covers only part of the category's job, with no zip or tar.

GPT-6.2 Sol: 4.6, likely 3.4 to 5.8

pako serves browser and Node.js projects that handle gzip, zlib, or raw DEFLATE directly. ZIP and TAR work needs a separate library, and built-in Compression Streams cover many ordinary browser tasks. The share of projects that need pako’s extra control is hard to measure.

Helps a lot7.2

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

pako is correct, mature, and matches zlib output exactly, and 3.x adds ESM examples and bundled types. Its own benchmarks show it about 2–3x slower than native zlib. fflate is smaller, usually faster, and adds zip support and async workers. Some advanced zlib functions are missing.

GPT-6.2 Sol: 7.9, likely 6.8 to 8.9

Version 3.0.3 offers typed one-shot and chunked APIs, low-level zlib controls, and current examples that guide developers and coding agents past v2 syntax. jsbeeb’s v3 tests found that pako rejected damaged gzip data and decoded every member of a concatenated stream. pako was larger than fflate in that build and slower on a separate Node compression benchmark, with results varying by workload.

Holds up over time7.1

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 5.5 to 8.0

Activity picked up after years of quiet: 74 commits and 5 npm versions in the last year, including a 3.0 major and 3.0.3 in October 2026. Few issues stay open. Work rests mostly on one or two maintainers with no visible funding, and native browser APIs are slowly taking over its basic use case.

  • github commitsLastYear: 74 commits
  • npm versionsLastYear: 5 versions; latest 3.0.3 on 2026-10-26
  • github openIssues: 4 open vs 241 closed
  • github.com/nodeca/pako: Two listed authors; no named sponsors

GPT-6.2 Sol: 7.2, likely 5.8 to 8.4

pako recorded 74 commits and five npm releases in the past year after a long release gap. Version 3 added built-in types and changed imports and text handling, and 3.0.3 restored strategy constants after a user report. The manifest lists sponsorship links, while a registry mirror lists one npm maintainer, leaving release continuity less certain.

Used widely7.8

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

pako has about 750M downloads in 4 weeks and 780k dependent repos, among the highest in the category. Most of that is indirect, through JSZip and many other packages. Its year-over-year ratio of 4.7 is a little above the 4.1 median, but fflate grew faster (about 8x) from a lower base.

  • npm downloadsLast4Weeks: 749M now vs 159M a year ago, ratio about 4.7
  • dependents repos: 779,528 repos and 2,699 packages
  • peers fflate downloads: fflate grew about 8x to 624M

GPT-6.2 Sol: 7.6, likely 6.1 to 8.8

ecosyste.ms found about 780,000 dependent repositories, ahead of JSZip and fflate and behind node-tar. Four-week downloads grew 4.71× year over year, modestly ahead of the 4.1× median and behind fflate’s 8.04×. Transitive installs drive much of that volume, older versions dominate npm’s breakdown, and recent public discussion in the bundle is sparse. Those limits leave a wide range for direct adoption today.

  • dependents.repos, dependents.packages, peers.dependentRepos: 779,528 repositories and 2,699 packages in the collector’s coverage.
  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: 749 million versus 159 million installs, with faster growth at fflate.
  • github.stars, hackerNews.stories, bluesky.posts: 6,139 stars and zero matching stories or posts in the bundle.
  • npmjs.com/package/pako?activeTab=versions: Version 1.0.11 alone accounts for far more weekly downloads than all v3 releases combined.
Vouched for6.7

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.5 to 7.5

Widely used libraries such as JSZip have built on pako for years, so it is proven in production. There is no current survey coverage, and Hacker News and Bluesky show no recent discussion. Independent benchmarks mostly rank fflate or the native API above it.

GPT-6.2 Sol: 7.3, likely 5.9 to 8.5

jsbeeb adopted pako v3 after testing gzip integrity and concatenated streams in Chrome and Node. JSZip and Cornerstone’s DICOM loader provide further evidence of real use on older major versions. State of JavaScript’s tools results offer no pako-specific satisfaction data, and the evidence for v3 is still concentrated in a few workloads.

Safe7.8

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

There are no runtime dependencies and no advisories ever, and the Scorecard shows fuzzing and safe workflows. The Scorecard is weak on code review, branch protection and SAST (overall 5.8). The licence is MIT with Zlib, both permissive.

  • npm dependencies: 0 dependencies
  • advisories total: No advisories
  • scorecard: 5.8; Fuzzing 10, Code-Review 1, Branch-Protection 0
  • npm license: MIT AND Zlib

GPT-6.2 Sol: 7.5, likely 6.1 to 8.6

pako has zero runtime dependencies, permissive MIT and Zlib licensing, and no advisories in the supplied OSV scan. OpenSSF gave it full marks for fuzzing and workflow token permissions, but branch protection scored 0, code review 1, and dependency pinning 3. The package builds and tests before packing, while release signing and provenance remain unclear.

  • npm.dependencies, npm.license, advisories.total: Zero runtime dependencies, permissive licenses, and zero recorded OSV advisories.
  • scorecard.score, scorecard.checks: 5.8 overall, with strong fuzzing and weak review, branch protection, and pinning.
  • github.com/nodeca/pako/blob/3.0.3/package.json: The prepack script runs tests and builds the distribution.
  • github.com/nodeca/pako/security: GitHub lists a reporting route and no published advisories.

Good

  • It writes the same deflate/gzip bytes as zlib (the README says 1.3.2), which helps with checksums and reproducible output.
  • It has no runtime dependencies, no known advisories, and fuzzing in CI.
  • It is still maintained: 3.0.3 shipped in October 2026, with 74 commits in the last year and built-in types.
  • The API mirrors zlib, so Node zlib code moves to the browser easily.

Bad

  • It cannot make or open zip or tar archives; you need JSZip, fflate or zip.js on top.
  • The full bundle is about 45 kB minified, against about 8 kB for fflate's core, and pako is usually slower than fflate and the native APIs.
  • It works synchronously and has no worker-based async API, so large inputs block the main thread.
  • There are no GitHub releases or changelog entries for 3.x, so upgrade notes are hard to find.

The numbers

npm downloads, 4 weeks
749M ×4.7 in a year
GitHub stars
6.1k
Commits, 12 months
74
npm version
3.0.3 Oct 2026
Versions, 12 months
5
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
5.8 out of 10, Nov 2026
Licence
MIT

Many packages install it, so most downloads are not a direct choice.

Read on 21 November 2026 from GitHub (nodeca/pako), npm (pako), OSV and the OpenSSF Scorecard.

Zip and compression

  1. 7.7zip.js
  2. 7.2node-tar
  3. 6.9pako
  4. 6.9yauzl
  5. 6.8fflate
  6. 6.6Archiver
  7. 6.0JSZip
  8. 5.7unzipper
  9. 5.5ADM-ZIP
Compare all 9 on six scores