</>PackageGraphPackageGraph

pako

npmv3.0.1TypeScript

zlib port to javascript - fast, modularized, with browser support

Safe to adopt

Yes — pako scores well across adoption, maintenance, weight, supply chain, and licensing. 100.8M downloads per week and 2 known dependents. Last published 65 days ago. 3 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    100.8M downloads per week and 2 known dependents.

  • AMaintenance: grade A, Excellent.

    Last published 65 days ago. 3 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 2.4 MB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    (MIT AND Zlib) — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding pako to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

2.4 MB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the pako README.

deflate-pako x 14.27 ops/sec ±3.41% (37 runs sampled)
deflate-pako-zlib-hash x 10.60 ops/sec ±0.50% (29 runs sampled)
deflate-zlib x 30.30 ops/sec ±0.61% (51 runs sampled)
gzip-pako x 13.48 ops/sec ±0.50% (36 runs sampled)
inflate-pako x 138 ops/sec ±1.26% (75 runs sampled)
inflate-zlib x 397 ops/sec ±1.37% (81 runs sampled)
ungzip-pako x 125 ops/sec ±1.46% (73 runs sampled)

pako vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
pakothis page100.8M2(MIT AND Zlib)2 months ago
fflate53.5M1MIT1 day ago
minizlib02MIT1 day ago
jszip02(MIT OR GPL-3.0-or-later)1 day ago

Dependencies

Declared by pako v3.0.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (10)

@types/node ^26.0.0c8 ^11.0.0eslint ^9.39.4gh-pages ^6.3.0neostandard ^0.13.0rollup ^4.62.2rollup-plugin-dts ^6.4.1typedoc ^0.28.19typescript ^6.0.3vite ^8.0.14

Used by

Popular packages that depend on pako.

Relationship graph

Dependencies (left) and dependents (right) of pako.

fflatejszippako
pako dependencies dependents

Frequently installed together

Release history

3 releases in the last two years, typically about 52 days apart.

Recent versions of pako
VersionPublishedSizeLicense
3.0.1latest2 months ago2.4 MB(MIT AND Zlib)
3.0.02 months ago2.4 MB(MIT AND Zlib)
2.2.02 months ago1.6 MB(MIT AND Zlib)
2.1.03 years ago1.6 MB(MIT AND Zlib)
2.0.45 years ago1.5 MB(MIT AND Zlib)
2.0.35 years ago1.5 MB(MIT AND Zlib)
2.0.25 years ago1.5 MB(MIT AND Zlib)
2.0.15 years ago1.5 MB(MIT AND Zlib)
2.0.05 years ago1.5 MB(MIT AND Zlib)
1.0.116 years ago770 KB(MIT AND Zlib)
1.0.107 years ago768 KB(MIT AND Zlib)
1.0.97 years ago767 KB(MIT AND Zlib)
1.0.87 years ago767 KB(MIT AND Zlib)
1.0.77 years ago766 KB(MIT AND Zlib)
1.0.69 years ago(MIT AND Zlib)

Overview

pako is an npm package that zlib port to javascript - fast, modularized, with browser support. It is extremely widely used, with about 100.8M downloads per week and 2 known dependents in the graph. The latest version is 3.0.1, released under the (MIT AND Zlib) license.

Who should use it

Teams working in the npm ecosystem who need zlib port to javascript - fast, modularized, with browser support and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (100.8M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license ((MIT AND Zlib)).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use pako?

Yes — pako scores well across adoption, maintenance, weight, supply chain, and licensing. 100.8M downloads per week and 2 known dependents. Last published 65 days ago. 3 releases in the last 2 years.

How do I install pako?

Run `npm install pako` to add pako to your npm project.

What license is pako released under?

pako is distributed under the (MIT AND Zlib) license.

How popular is pako?

pako has approximately 100,784,547 downloads per week and 2 known dependent packages.

Is pako still maintained?

The most recent release of pako (v3.0.1) was published 2 months ago.

Does pako run install scripts?

No. pako does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.