11 repository-uri
Tools to improve execution speed and memory efficiency.
Explore 11 awesome GitHub repositories matching part of an awesome list · Code Optimization. Refine with filters or upvote what's useful.
This project is a JavaScript code protection tool designed to transform source code into a version that is difficult for humans to read. Its primary purpose is to protect intellectual property and prevent reverse engineering by altering the original program logic. The tool employs several advanced techniques to hinder analysis, including control flow flattening and the injection of dead code. It can compile functions into custom bytecode executed by an embedded virtual machine and encrypt string literals to prevent static analysis of text. Additional capabilities include anti-debugging mecha
Advanced obfuscation for JavaScript and Node.js.
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
JavaScript minification and compression 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 optimization and compression library.
cssnano este un instrument de compresie și minificare CSS care reduce dimensiunea fișierelor și amprenta gzip a foilor de stil. Acesta funcționează ca un optimizator de pipeline de build și un transformator de cod care elimină spațiile albe și comentariile, scurtând în același timp culorile și gradienții la cele mai mici reprezentări posibile. Instrumentul utilizează o arhitectură modulară de plugin-uri și niveluri de optimizare bazate pe presetări pentru a echilibra intensitatea compresiei cu compatibilitatea browserelor. Permite ajustarea ieșirii pe baza unei liste țintă de browsere suportate pentru a asigura că stilurile minificate rămân compatibile în diferite medii. Proiectul se integrează în pipeline-urile PostCSS și module bundlers, oferind atât o interfață de linie de comandă, cât și capabilități de automatizare pentru integrarea în procesul de build. Acest lucru permite reducerea dimensiunii totale în octeți și a latenței rețelei prin fluxuri de lucru automatizate de minificare CSS.
Modular CSS minification based on PostCSS.
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
Babel-based minification for modern JavaScript.
Clean-CSS este un optimizator și minifier CSS pentru Node.js conceput pentru a reduce dimensiunile fișierelor de stil și a îmbunătăți performanța web. Acesta funcționează ca un post-procesor CSS care elimină spațiile albe inutile, comentariile și proprietățile redundante din fișierele de stil. Proiectul utilizează un arbore sintactic abstract pentru parsare și un pipeline de optimizare cu mai multe treceri pentru a restructura regulile și a simplifica proprietățile. Dispune de o interfață de plugin pentru transformări de stil personalizate și oferă minificare conștientă de compatibilitate pentru a asigura că stilurile rămân funcționale în versiunile specifice de browsere legacy. Capabilitățile suplimentare includ generarea de source map-uri pentru depanare, rebasarea URL-urilor activelor pentru imagini și fonturi relocate, și rezolvarea instrucțiunilor de import inline. Sistemul suportă procesarea fișierelor în lot și oferă o interfață CLI pentru automatizarea sarcinilor de optimizare în cadrul pipeline-urilor de build frontend.
CSS optimization and minification tool.
A minimalist bytecode compiler for Node.js.
Bytecode compilation to protect source code.
Boot large Ruby/Rails apps faster
Accelerates boot times for large Ruby and Rails applications.
A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)
Streaming JSON parsing and encoding with C bindings.
Strip comments from CSS
Removal of comments from CSS files.