10 Best JavaScript Compression Libraries

List hand-picked by Openbase Experts
Learn More

az

adm-zip

A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
3
Top Feedback
2Great Documentation
1Easy to Use
GitHub Stars
2K
Weekly Downloads
3M
Last Commit
3mos ago
jsz

jszip

Create, read and edit .zip files with Javascript

License Icon
License: (MIT OR GPL-3.0-or-later)
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
3
Top Feedback
N/A
GitHub Stars
7K
Weekly Downloads
4M
Last Commit
3mos ago

compression-webpack-plugin

Prepare compressed versions of assets to serve them with Content-Encoding

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
1M
Last Commit
1mo ago

compression

Node.js compression middleware

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
3Great Documentation
3Easy to Use
2Performant
GitHub Stars
3K
Weekly Downloads
11M
Last Commit
2yrs ago

pixelmatch

The smallest, simplest and fastest JavaScript pixel-level image comparison library

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
4K
Weekly Downloads
2M
Last Commit
5mos ago
gz

gulp-zip

ZIP compress files

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
266
Weekly Downloads
61K
Last Commit
10mos ago
sl

secure-ls

🔒 Secure localStorage data with high level of encryption and data compression

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
543
Weekly Downloads
16K
Last Commit
1yr ago
sna

snappy

Fastest Snappy compression library in Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
61
Weekly Downloads
595K
Last Commit
1mo ago
ls

lz-string

LZ-based compression algorithm for JavaScript

License Icon
License: WTFPL
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
4M
Last Commit
4mos ago

brotli

A JavaScript port of the Brotli compression algorithm, as used in WOFF2

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
387
Weekly Downloads
1M
Last Commit
2yrs ago
src

shrink-ray-current

Node.js compression middleware

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
166
Weekly Downloads
8K
Last Commit
9mos ago
has

hastily

fastly imageopto compat layer for express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
7
Weekly Downloads
2K
Last Commit
1yr ago
lz4

lz4

LZ4 fast compression algorithm for NodeJS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
384
Weekly Downloads
7K
Last Commit
2mos ago

lzma

A JavaScript implementation of the Lempel-Ziv-Markov (LZMA) chain compression algorithm

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
564
Weekly Downloads
18K
Last Commit
4yrs ago
nz

node-zopfli

Node bindings for Zopfli Compression Algorithm (zlib, gzip, deflate compatible)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
106
Weekly Downloads
16K
Last Commit
1yr ago
com

compressjs

Pure JavaScript de/compression (bzip2, etc) for node.js, volo, and the browser.

License Icon
License: GPL-3.0-or-later
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
319
Weekly Downloads
9K
Last Commit
6yrs ago
gpc

gatsby-plugin-compression-v2

Gatsby plugin for compressing assets. (gzip)

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
2K
Last Commit
N/A
gzi

gzippo

gzippo pronounced `g-zippo` is a nodejs gzip middleware for Connect and express js using the new native node zlib api

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
211
Weekly Downloads
209
Last Commit
7yrs ago
sr

shrink-ray

Node.js compression middleware

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
265
Weekly Downloads
155
Last Commit
5yrs ago

express-compression

Node.js compression middleware

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
151
Last Commit
2yrs ago
ec

express-compress

Express middlewares to comress/decompress response with encoding: brotli, gzip and deflate

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
75
Last Commit
2yrs ago
se

squared-express

Express server for use with squared.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
30
Last Commit
1yr ago
wre

wrender

Image compression and transformation reverse-proxy for Express apps

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
13
Weekly Downloads
4
Last Commit
2yrs ago
ews

express-wrapper-simple

Express wrapper with quick custom request and response handling

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
1
Last Commit
N/A
ecs

express-compression-server

simple express server that serves compressed files from a given folder and hot reloads while you work.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
0
Last Commit
1yr ago
ue

ultimate-expressjs

Ultimate ExpressJS Wrapper

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
1
Last Commit
2yrs ago