{"library":"minizlib","type":"library","category":null,"description":"minizlib is a high-performance JavaScript library designed for stream-based compression and decompression using zlib, gzip, Brotli, and Zstd algorithms. It leverages Node.js's native zlib bindings for optimal speed, providing a synchronous streaming API built on top of the 'minipass' stream implementation. The current stable version is 3.1.0, actively maintained with a focus on efficiency. A key differentiator is its synchronous operation on the main thread, which minimizes overhead and offers immediate processing, making it suitable for CPU-bound tasks in scenarios where consistent asynchronous behavior of Node's core `stream.Transform` might introduce undesirable latency. Unlike Node.js's built-in `zlib` module, minizlib exclusively provides stream interfaces and does not offer convenience methods for buffer-to-buffer compression/decompression, requiring users to compose streams for such tasks. It was developed to meet the demanding requirements of projects like 'node-tar' and 'minipass-fetch'.","language":"javascript","status":"active","version":"3.1.0","tags":["javascript","zlib","gzip","gunzip","deflate","inflate","compression","zip","unzip","typescript"],"install":[{"cmd":"npm install minizlib","imports":["import { Deflate } from 'minizlib'","import { BrotliDecompress } from 'minizlib'","import { Gzip } from 'minizlib'"]},{"cmd":"yarn add minizlib","imports":[]},{"cmd":"pnpm add minizlib","imports":[]}],"homepage":null,"github":"https://github.com/isaacs/minizlib","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/minizlib","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/minizlib/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}