</>PackageGraphPackageGraph

fflate

npmv0.8.3TypeScript

High performance (de)compression in an 8kB package

Safe to adopt

Yes — fflate scores well across adoption, maintenance, weight, supply chain, and licensing. 53.5M downloads per week and 1 known dependents. Last published 117 days ago. 5 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    53.5M downloads per week and 1 known dependents.

  • BMaintenance: grade B, Good.

    Last published 117 days ago. 5 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 778 KB installed.

  • BSupply chain: grade B, Good.

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

  • ALicense: grade A, Excellent.

    MIT — 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 fflate 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.

778 KB
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 fflate README.

// I will assume that you use the following for the rest of this guide
import * as fflate from 'fflate';

// However, you should import ONLY what you need to minimize bloat.
// So, if you just need GZIP compression support:
import { gzipSync } from 'fflate';
// Woo! You just saved 20 kB off your bundle with one line.

fflate vs the alternatives

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

PackageWeekly downloadsDependentsLicenseLast release
fflatethis page53.5M1MIT3 months ago
minizlib02MIT15 hours ago
pako100.8M2(MIT AND Zlib)16 hours ago
@zip.js/zip.js02BSD-3-Clause15 hours ago
jszip02(MIT OR GPL-3.0-or-later)19 hours ago
tinyglobby08MIT17 hours ago

Dependencies

Declared by fflate v0.8.3. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (20)

@parcel/service-worker ^2.9.3@types/node ^25.8.0@types/pako *@types/react ^18.2.21@types/react-dom ^18.2.7jszip ^3.10.1pako *parcel ^2.9.3preact ^10.17.1react ^18.2.0react-dom ^18.2.0simple-git ^3.19.1terser ^5.47.1tiny-inflate *ts-node ^10.9.2typedoc ^0.28.19typedoc-plugin-markdown ^4.11.0typescript ^6.0.3uvu ^0.5.6uzip *

Used by

Popular packages that depend on fflate.

Relationship graph

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

@vitest/uifflate
fflate dependencies dependents

Frequently installed together

Release history

5 releases in the last two years, typically about 27 days apart.

Recent versions of fflate
VersionPublishedSizeLicense
0.7.51 month ago523 KBMIT
0.6.111 month ago508 KBMIT
0.5.41 month ago488 KBMIT
0.4.91 month ago254 KBMIT
0.8.3latest3 months ago778 KBMIT
0.8.22 years ago755 KBMIT
0.8.13 years ago732 KBMIT
0.8.03 years ago543 KBMIT
0.7.44 years ago523 KBMIT
0.7.34 years ago523 KBMIT
0.7.24 years ago521 KBMIT
0.7.15 years ago522 KBMIT
0.7.05 years ago517 KBMIT
0.6.105 years ago508 KBMIT
0.6.95 years ago509 KBMIT

Overview

fflate is an npm package that high performance (de)compression in an 8kB package. It is extremely widely used, with about 53.5M downloads per week and 1 known dependents in the graph. The latest version is 0.8.3, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need high performance (de)compression in an 8kB package and value a battle-tested, widely-adopted solution.

When not to use it

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

Pros

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

Cons

  • Large dependency tree (20 direct dependencies) increases install size and audit surface.

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

Maintainers

Keywords

Frequently asked questions

Should I use fflate?

Yes — fflate scores well across adoption, maintenance, weight, supply chain, and licensing. 53.5M downloads per week and 1 known dependents. Last published 117 days ago. 5 releases in the last 2 years.

How do I install fflate?

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

What license is fflate released under?

fflate is distributed under the MIT license.

How popular is fflate?

fflate has approximately 53,542,445 downloads per week and 1 known dependent packages.

Is fflate still maintained?

The most recent release of fflate (v0.8.3) was published 3 months ago.

Does fflate run install scripts?

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