10 Best JavaScript Minifiers Libraries

List hand-picked by Openbase Experts
Learn More

svgo

svgo

⚙️ Node.js tool for optimizing SVG files

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
18.5K
Weekly Downloads
14.5M
Last Commit
9mos ago
User Rating
4.7/ 5
47
Top Feedback
8Great Documentation
5Easy to Use
5Performant
terser-webpack-plugin

terser-webpack-plugin

Terser Plugin

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
1.8K
Weekly Downloads
29.7M
Last Commit
8mos ago
User Rating
4.7/ 5
3
Top Feedback
1Performant
gpp

gatsby-plugin-purgecss

Gatsby plugin for purgecss. Removes unused css/sass/less/stylus. Supports tailwind, bootstrap, bulma etc.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
75
Weekly Downloads
14.9K
Last Commit
8mos ago
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Bleeding Edge
rpt

rollup-plugin-terser

Rollup plugin to minify generated bundle

MIT
TypeScript Icon
TypeScript Definitions: Built-In
TypeScript Icon
Deprecated
GitHub Stars
604
Weekly Downloads
4.1M
Last Commit
2yrs ago
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Performant
gcc

gulp-clean-css

Minify css with clean-css.

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
642
Weekly Downloads
209K
Last Commit
3yrs ago
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
imagemin

imagemin

[Unmaintained] Minify images seamlessly

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
5.1K
Weekly Downloads
1.2M
Last Commit
1yr ago
User Rating
4.2/ 5
5
Top Feedback
3Performant
2Poor Documentation
2Hard to Use
gu

gulp-uglify

Minify files with UglifyJS

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
1.2K
Weekly Downloads
364K
Last Commit
4yrs ago
User Rating
4.5/ 5
2
Top Feedback
1Great Documentation
1Easy to Use
1Performant
eh

ejs-html

Embedded JavaScript HTML templates. Another implementation of EJS, focused on run-time performance, basic HTML syntax checking and outputting minified HTML.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
7
Weekly Downloads
170
Last Commit
5yrs ago
User Rating
4.0/ 5
1
Top Feedback
nm

node-minify

Light Node.js module that compress javascript, css and html files

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
456
Weekly Downloads
14.6K
Last Commit
1yr ago
gpm

gatsby-plugin-minify-classnames

Minify CSS Modules classnames

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
13
Weekly Downloads
1.7K
Last Commit
9mos ago
mcc

mini-css-class-name

Minimum size unique CSS class names generator

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
6
Weekly Downloads
1.6K
Last Commit
1yr ago
gpm

gatsby-plugin-mini-css-class-name

Minifying CSS class names

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
2
Weekly Downloads
1.3K
Last Commit
8mos ago
gpm

gatsby-plugin-minify

A Gatsby plugin to easily minify all result.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3
Weekly Downloads
4K
Last Commit
8mos ago
em

express-minify

Automatically minify and cache your javascript and css files.

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
Weekly Downloads
12.8K
Last Commit
yuicompressor

yuicompressor

YUI Compressor

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3K
Weekly Downloads
10.2K
Last Commit
4yrs ago
njm

node-json-minify

Simple minifier for JSON to remove comments and whitespace

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
391
Weekly Downloads
3.1K
Last Commit
1yr ago
gpo

gatsby-plugin-optimize-svgs

A Gatsby Plugin to minify SVGs output to the filesystem during the build.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
39
Weekly Downloads
2.4K
Last Commit
2yrs ago
emh

express-minify-html

Express middleware wrapper around HTML minifier

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
56
Weekly Downloads
2K
Last Commit
5yrs ago
gpm

gatsby-plugin-minify-html

🚀 A Gatsby plugin for minify HTML files.

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
10
Weekly Downloads
994
Last Commit
1yr ago
noc

next-optimized-classnames

Reduce all CSS classes produced by CSS modules to the smallest form possible

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
26
Weekly Downloads
656
Last Commit
1yr ago
eb

express-beautify

HTML output beautify filter for express

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3
Weekly Downloads
626
Last Commit
6yrs ago
emh

express-minify-html-terser

Express middleware wrapper around html-minifier-terser

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
1
Weekly Downloads
104
Last Commit
2yrs ago
nbm

next-babel-minify

Next.js plugin to replace UglifyJS for BabelMinify

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
5
Weekly Downloads
100
Last Commit
3yrs ago
nu

node-uglifier

Fully auto merging and obfuscating (uglify) a whole NodeJs project into one file with external files option. Thieves lose the module name and structure information, code runs faster. Makes deployement super easy! It can also separate a project's original files based on the dependency tree.

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
176
Weekly Downloads
55
Last Commit
6yrs ago
um

uglifyjs-middleware

The no-thought-necessary JavaScript minification middleware for connect and express.

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
54
Last Commit
gph

gatsby-plugin-html-minifier

A Gatsby plugin to easily minify HTML file

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
1
Weekly Downloads
28
Last Commit
4yrs ago
min

minifyjs

A node-package for minifying javascript.

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
17
Weekly Downloads
20
Last Commit
10yrs ago
em

express-minifier

Automatically minify CSS, JS and HTML files!

GPL-3.0
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
5
Weekly Downloads
8
Last Commit
2yrs ago
res

resmin

All-in-one minifier/merger/compressor middleware for connect/express

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
10
Weekly Downloads
6
Last Commit
11yrs ago
gpj

gatsby-plugin-jss-provider

Provides drop-in support for JSS wrapping your Root element into a react-jss JssProvider. Custom config allows you to pass custom props to the JssProvider. Minify option allows you to enable csso minifier to compress css for SSR.

ISC
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
Weekly Downloads
5
Last Commit
sa

serve-assets

An easy to use minifing assets-server as connect-middleware

ISC
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
0
Weekly Downloads
2
Last Commit
8yrs ago
min

minimonster

Nodejs css/js minification middleware for connect/express with in-memory caching support

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
3
Weekly Downloads
0
Last Commit
7yrs ago
cr

coral-reef

A Next.js Setup with so many features out of the 📦

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
0
Weekly Downloads
0
Last Commit
2yrs ago