5 repository-uri
Tools for reducing the size of JavaScript, CSS, and HTML files.
Explore 5 awesome GitHub repositories matching part of an awesome list · Code Minifiers. Refine with filters or upvote what's useful.
UglifyJS is a tool for JavaScript code minification, AST manipulation, and source beautification. Its primary purpose is to reduce the file size of JavaScript source code by removing whitespace and shortening variable names to optimize frontend build assets. The project differentiates itself through its ability to programmatically analyze and transform code using abstract syntax trees. It performs constant folding analysis and conditional compilation to eliminate unreachable or redundant code, and it employs a multi-pass compression pipeline to maximize total file size reduction. The tool pr
Standard JavaScript minification tool.
imagemin is a Node.js image optimizer and minification tool designed to reduce the storage size of image assets. It functions as a build pipeline asset optimizer that employs both lossy and lossless compression to remove unnecessary metadata and optimize pixel data. The project uses a plugin-based architecture to extend its functionality, loading external modules that handle specific image formats and compression algorithms. This allows the tool to serve as a flexible toolkit for automating image compression within development pipelines. The system covers broad capabilities for web performan
Image file size optimization.
This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It functions as a JavaScript minifier that uses the Babel toolchain to reduce file size by removing unnecessary characters and whitespace while preserving program logic. The tool is distinguished by its ability to process experimental language proposals and transform modern syntax into browser-compatible versions. It provides specialized handling for React JSX transpilation and strips type annotations from TypeScript files to produce compressed production assets. The system cove
ES2015-aware JavaScript minifier.
Clean-CSS este un optimizator CSS pentru Node.js care funcționează ca minifier, bundler și post-procesor. Este conceput pentru a reduce volumul total al fișierelor de stil prin eliminarea spațiilor albe, a comentariilor și a codului redundant. Proiectul oferă un pipeline pentru aplicarea transformărilor personalizate și a ajustărilor de compatibilitate cu browserele. Permite modificarea programatică a regulilor și valorilor CSS printr-un sistem de plugin-uri și utilizarea plugin-urilor de optimizare personalizate. Instrumentul acoperă o gamă largă de capabilități de optimizare a activelor, inclusiv gruparea fișierelor de stil, înlănțuirea regulilor de import și rebasarea URL-urilor relative. De asemenea, suportă generarea de source map-uri pentru depanare și formatarea output-ului personalizabilă pentru înfrumusețare.
CSS file minification and optimization.