snappy
npmv7.3.3TypeScriptFastest Snappy compression library in Node.js
Safe to adopt
Yes — snappy scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 364 days ago. 4 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 364 days ago. 4 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 25 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- 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 snappy 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.
Compatibility
- Node.js
- node >= 10
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the snappy README.
export function compressSync(input: Buffer | string | ArrayBuffer | Uint8Array): Buffer
export function compress(input: Buffer | string | ArrayBuffer | Uint8Array): Promise<Buffer>
export function uncompressSync(compressed: Buffer): Buffer
export function uncompress(compressed: Buffer): Promise<Buffer>snappy 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 |
|---|---|---|---|---|
| snappythis page | 0 | 1 | MIT | 1 year ago |
| fflate | 53.5M | 1 | MIT | 1 day ago |
| minimizer-webpack-plugin | 0 | 1 | MIT | 7 days ago |
| minizlib | 0 | 2 | MIT | 1 day ago |
Dependencies
Declared by snappy v7.3.3. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (18)
Used by
Popular packages that depend on snappy.
Relationship graph
Dependencies (left) and dependents (right) of snappy.
Frequently installed together
Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.
A collection of credential providers, without requiring service clients like STS, Cognito
Official client encryption module for the MongoDB Node.js driver
Get the metadata from a Google Cloud Platform environment
[](https://github.com/mongodb-js/zstd/actions/workflows/test.yml)
An extremely fast JavaScript and CSS bundler and minifier.
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Fast, unopinionated, minimalist web framework
TypeScript execution environment and REPL for node.js, with source map support
Signs and prepares requests using AWS Signature Version 4
MongoDB connection strings, based on the WhatWG URL API
Release history
4 releases in the last two years, typically about 20 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 7.3.3latest | 1 year ago | 25 KB | MIT |
| 7.3.2 | 1 year ago | 25 KB | MIT |
| 7.3.1 | 1 year ago | 18 KB | MIT |
| 7.3.0 | 1 year ago | 18 KB | MIT |
| 7.2.2 | 3 years ago | 14 KB | MIT |
| 7.2.1 | 3 years ago | 14 KB | MIT |
| 7.2.0 | 3 years ago | 14 KB | MIT |
| 7.1.2 | 4 years ago | 13 KB | MIT |
| 7.1.1 | 4 years ago | 13 KB | MIT |
| 7.1.0 | 4 years ago | 14 KB | MIT |
| 7.0.5 | 4 years ago | 12 KB | MIT |
| 7.0.4 | 4 years ago | 12 KB | MIT |
| 7.0.3 | 5 years ago | 11 KB | MIT |
| 7.0.2 | 5 years ago | 11 KB | MIT |
| 7.0.1 | 5 years ago | 9.7 KB | MIT |
Overview
snappy is an npm package that fastest Snappy compression library in Node.js. It has 1 known dependents in the graph. The latest version is 7.3.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need fastest Snappy compression library in Node.js and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (36 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use snappy?
Yes — snappy scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 364 days ago. 4 releases in the last 2 years.
How do I install snappy?
Run `npm install snappy` to add snappy to your npm project.
What license is snappy released under?
snappy is distributed under the MIT license.
How popular is snappy?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on snappy.
Is snappy still maintained?
The most recent release of snappy (v7.3.3) was published 1 year ago.
Does snappy run install scripts?
No. snappy does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.