pako VS fflate

Compare pako vs fflate and see what are their differences.

pako

high speed zlib port to javascript, works in browser & node.js (by nodeca)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
pako fflate
6 7
5,295 2,051
0.8% -
0.6 7.0
about 1 year ago 3 months ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pako

Posts with mentions or reviews of pako. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-30.
  • Gzip library for client-side compression
    2 projects | /r/webdev | 30 Jun 2022
    try pako
  • Storing State in the URL
    2 projects | news.ycombinator.com | 12 May 2022
    A trick I've used on top of serializing JSON in the URL is in-browser compression with a library like pako [0] (zlib in JavaScript). This helps you get more data in before you reach the browser limit for URL length.

    [0] https://github.com/nodeca/pako

  • Browsers can do that?
    10 projects | dev.to | 9 Feb 2022
    Another operation that is sometimes desired is to take several files and give the user a compressed file. There are actually a surprisingly large amount (jszip, pako) of client side options here, but my favorite so far when it comes to speed, size and working with .zip has been fflate. But if you'd like to work with other formats, there are also libraries to decompress 7-Zip, RAR & TAR.
  • Major updates for bundle.js.org v0.0.3
    9 projects | dev.to | 19 Sep 2021
    I used monaco-editor for the code-editor, esbuild and rollup as bundler and treeshaker respectively, pako as a js port of the zlib and gzip libraries, pretty-bytes to convert the gzip size to human readable values, and countapi-js to keep track of the number of page visits, in a private and secure way.
  • Interacting with usernotes outside of toolbox
    2 projects | /r/toolbox | 14 Jun 2021
    Just wanted to let you know the most current version of pako does not work with the example on the wiki page. It errors out with "unknown compression format". I had to use the version found in Toolbox lib folder in order to get the example from the wiki page to work.
  • 298 App Lab apps in a Steam-like filter system
    2 projects | /r/OculusQuest | 8 Jun 2021
    Uncompressing should be straightforward with pako.js.

fflate

Posts with mentions or reviews of fflate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-30.
  • Ayuda con encontrar una libreria
    1 project | /r/programacion | 7 May 2023
  • Gzip library for client-side compression
    2 projects | /r/webdev | 30 Jun 2022
    Or fflate
  • Browsers can do that?
    10 projects | dev.to | 9 Feb 2022
    Another operation that is sometimes desired is to take several files and give the user a compressed file. There are actually a surprisingly large amount (jszip, pako) of client side options here, but my favorite so far when it comes to speed, size and working with .zip has been fflate. But if you'd like to work with other formats, there are also libraries to decompress 7-Zip, RAR & TAR.
  • 5 Insane Features in my OS in the Browser!!! 🤯
    11 projects | dev.to | 30 Jan 2022
    I started my file system with BrowserFS which allowed me to setup IndexedDb as the main writeable location. When in Firefox Private mode it switches to an in memory file system which does not persist. Using BrowserFS also meant I could open ZIP and ISO files as if they were folders. I create a JSON file on build that has the initial public folder directory structure which is used as the readable portion of the file system via plain HTTP GET requests. I've also added the ability to extract RAR files, although I don't currently have it linked to File Explorer to see it's contents before extracting. I can also make and extract ZIP/ISO via fflate.
  • fzstd - expand super-compressed Zstandard data in 8kB of pure JS
    2 projects | /r/javascript | 4 Jul 2021
    Hello all! I've been maintaining fflate, a pure JavaScript compression and decompression library for DEFLATE data, for nearly a year now. It's become quite popular for being the fastest DEFLATE library available (including WebAssembly ports!) while being absolutely tiny in terms of bundle size. DEFLATE has many uses, as a general purpose compression format, so it has become very popular and is used in formats like PNG, PDF, XLSX, etc.
  • Creating a modern JS library: Introduction
    2 projects | dev.to | 5 Apr 2021
    To keep it short: I've worked on Parcel for a few months and therefore have investigated in great depth the fine details of making a package bundler-friendly. I've also published and maintained various successful packages, the most popular of which is is a high-performance compression library that reached over 4 million downloads in 6 months and is currently depended on by large projects such as SheetJS and Three.js. I've dealt with many of the problems new library authors face multiple times, so I'm familiar with the workarounds.
  • My next app: ZIP Lite
    1 project | /r/KaiOS | 9 Feb 2021
    Are you asking about decompression? https://github.com/101arrowz/fflate

What are some alternatives?

When comparing pako and fflate you can also consider the following projects:

JSZip - Create, read and edit .zip files with Javascript

fast-zlib - Shared context synchronous compression

libarchivejs - Archive library for browsers

decompress-zip - Module that decompresses zip files

WASM-ImageMagick - Webassembly compilation of https://github.com/ImageMagick/ImageMagick & samples

Archiver - a streaming interface for archive generation

ky - 🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API

decompress - Extracting archives made easy

fzstd - High performance Zstandard decompression in a pure JavaScript, 8kB package

tar-stream - tar-stream is a streaming tar parser and generator.