minizlib
npmv3.1.0TypeScriptA small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding.
Safe to adopt
Yes — minizlib scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 353 days ago. 2 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 353 days ago. 2 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 115 KB installed (at least — some of the tree is still being crawled).
- 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 minizlib to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Compatibility
- Node.js
- node >= 18
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the minizlib README.
import { BrotliDecompress } from 'minizlib'
// or: const BrotliDecompress = require('minizlib')
const input = sourceOfCompressedData()
const decode = new BrotliDecompress()
const output = whereToWriteTheDecodedData()
input.pipe(decode).pipe(output)minizlib vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| minizlibthis page | 0 | 2 | MIT | 11 months ago |
| fflate | 53.5M | 1 | MIT | 1 day ago |
| pako | 100.8M | 2 | (MIT AND Zlib) | 1 day ago |
| jszip | 0 | 2 | (MIT OR GPL-3.0-or-later) | 1 day ago |
| @zip.js/zip.js | 0 | 2 | BSD-3-Clause | 1 day ago |
| snappy | 0 | 1 | MIT | 28 days ago |
Dependencies
Declared by minizlib v3.1.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (4)
Used by
Popular packages that depend on minizlib.
Relationship graph
Dependencies (left) and dependents (right) of minizlib.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
Prettier is an opinionated code formatter
Yet Another Linked List
TypeScript definitions for node
fs read and write streams based on minipass
like `chown -R`
Convert character encodings in pure javascript.
A Minipass stream that raises an error if you get a different number of bytes than expected
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
An implementation of WHATWG AbortController interface.
Release history
2 releases in the last two years, typically about 19 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.1.0latest | 11 months ago | 115 KB | MIT |
| 3.0.2 | 1 year ago | 108 KB | MIT |
| 3.0.1 | 2 years ago | 105 KB | MIT |
| 3.0.0 | 2 years ago | 105 KB | MIT |
| 2.1.2 | 6 years ago | 17 KB | MIT |
| 2.1.1-testing-publish-with-beta-v7-npm.0 | 6 years ago | 17 KB | MIT |
| 2.1.1 | 6 years ago | 17 KB | MIT |
| 2.1.0 | 7 years ago | 17 KB | MIT |
| 2.0.0 | 7 years ago | 16 KB | MIT |
| 1.3.3 | 7 years ago | 16 KB | MIT |
| 1.3.2 | 7 years ago | 16 KB | MIT |
| 1.3.1 | 7 years ago | 16 KB | MIT |
| 1.3.0 | 7 years ago | 15 KB | MIT |
| 1.2.2 | 7 years ago | 14 KB | MIT |
| 1.2.1 | 7 years ago | 14 KB | MIT |
Overview
minizlib is an npm package that a small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding. It has 2 known dependents in the graph. The latest version is 3.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use minizlib?
Yes — minizlib scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 353 days ago. 2 releases in the last 2 years.
How do I install minizlib?
Run `npm install minizlib` to add minizlib to your npm project.
How many dependencies does minizlib have?
minizlib declares 5 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 115 KB on disk.
What license is minizlib released under?
minizlib is distributed under the MIT license.
How popular is minizlib?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on minizlib.
Is minizlib still maintained?
The most recent release of minizlib (v3.1.0) was published 11 months ago.
Does minizlib run install scripts?
No. minizlib does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.