pako VS yauzl

Compare pako vs yauzl and see what are their differences.

pako

high speed zlib port to javascript, works in browser & node.js (by nodeca)

yauzl

yet another unzip library for node (by thejoshwolfe)
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 yauzl
6 1
5,295 673
0.8% -
0.6 7.7
about 1 year ago 10 days ago
JavaScript JavaScript
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.

yauzl

Posts with mentions or reviews of yauzl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-28.
  • how to work with .xlsx files?
    7 projects | /r/node | 28 Jun 2023
    You could also parse them yourself. If you read the open documentation on the XLSX format, you'll find it's actually just a collection of ZIP files containing XML formatted files. You can stream the files into Nodejs with an archive parsing library such as yauzl and parse the data using an XML parse such as rgrove/parse-xml

What are some alternatives?

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

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

fast-zlib - Shared context synchronous compression

decompress - Extracting archives made easy

decompress-zip - Module that decompresses zip files

Archiver - a streaming interface for archive generation

fflate - High performance (de)compression in an 8kB package

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

yazl - yet another zip library for node