{"library":"yauzl","type":"library","category":null,"description":"yauzl (yet another unzip library) is a Node.js package designed for reading and extracting `.zip` archives. It strictly adheres to the ZIP specification, differentiating itself by reading the central directory for file metadata rather than scanning for local file headers, which are prone to being out of sync with the central directory. The library emphasizes non-blocking, asynchronous APIs and efficient memory usage, particularly through its `lazyEntries` option, which prevents buffering entire files or all entries into RAM simultaneously. Version 3.3.0 is the current stable release, with the project demonstrating a healthy and positive release cadence, with updates typically occurring every few months. Key differentiators include robust error handling, built-in validation to guard against unsafe file names and potential zip bomb attacks, and support for non-conformant zip files created by certain Microsoft tools. The API is callback-based, making it suitable for event-driven Node.js applications.","language":"javascript","status":"active","version":"3.3.0","tags":["javascript","unzip","zip","stream","archive","file"],"last_verified":"Wed May 27","install":[{"cmd":"npm install yauzl","imports":["import yauzl from 'yauzl';","import yauzl from 'yauzl'; yauzl.open(...);","import yauzl from 'yauzl'; // Access ZipFile class via yauzl.ZipFile"]},{"cmd":"yarn add yauzl","imports":[]},{"cmd":"pnpm add yauzl","imports":[]}],"homepage":null,"github":"https://github.com/thejoshwolfe/yauzl","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/yauzl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/yauzl/compatibility"}}