10 个仓库
Tools that reduce file size by compressing code, removing unnecessary characters, and optimizing identifiers.
Distinguishing note: None available; no candidates provided.
Explore 10 awesome GitHub repositories matching web development · Code Minifiers. Refine with filters or upvote what's useful.
esbuild is a high-performance JavaScript bundler and transpiler designed to transform modern web assets into production-ready code. Built with a focus on speed, it utilizes a concurrent execution model to perform parsing, linking, and code generation across multiple CPU cores. The engine handles a wide range of tasks, including TypeScript compilation, JSX transformation, and CSS bundling, while maintaining a consistent build process across diverse environments. What distinguishes the project is its architecture, which leverages memory-mapped file processing and a single-pass transformation st
A transformation tool that reduces file size by renaming identifiers, removing whitespace, and applying advanced code compression techniques.
This project is a high-performance compiler written in Rust that transpiles TypeScript and ECMAScript into compatible JavaScript code. It functions as a TypeScript transpiler, a JavaScript minifier, and a JavaScript bundler. The system distinguishes itself through a WebAssembly plugin host that allows the execution of custom transformation rules without modifying the core binary. It also provides specialized compilation for React source code to improve runtime performance and reduce execution overhead. The broader capability surface includes source-to-source compilation, type annotation stri
Shrinks JavaScript bundle size by removing unnecessary characters and optimizing identifiers.
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
Provides comprehensive JavaScript minification by removing whitespace, compressing expressions, and shortening variable names.
PurifyCSS is a CSS unused style remover and payload optimizer that analyzes HTML and templates to identify and delete unused CSS selectors from stylesheets. It functions as a frontend build automation tool that integrates into development pipelines to automatically strip redundant styles and minify assets during the compilation phase. The tool provides specific optimization for single page applications, identifying and removing redundant CSS while ensuring necessary styles are preserved across dynamic views and states. The utility covers a range of capabilities including static content analy
Reduces stylesheet file size by removing unnecessary characters and whitespace.
Terser is a JavaScript minifier and compressor designed to reduce file size through whitespace removal, symbol mangling, and logic optimization for ES6+. It functions as a toolkit for minification, a code mangler for shortening variable and property names, and a dead code eliminator that evaluates constant expressions to remove unreachable logic. The project operates as an AST toolkit that parses JavaScript source into SpiderMonkey AST format for structural analysis. It generates source maps to link compressed production code back to the original source, ensuring that minified bundles remain
Reduces JavaScript file size by removing whitespace, renaming symbols, and optimizing logic patterns.
This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a compilation pipeline designed to shrink file sizes and improve runtime performance. The system utilizes a multi-pass compilation process to perform dead code elimination, global name mangling, and static type inference. It identifies unreachable functions and unused variables to reduce the final output size and detects potential runtime errors without executing the code. The tool manages assets through dependency resolution, code chunking, and bundle management. It ensures co
Controls the visual layout of compiled code using pretty-printing to improve human readability.
SVGOMG is a browser-based SVG minification tool that applies SVGO transformations entirely on the client side. It processes SVG files in a Web Worker to keep the user interface responsive, then displays the original and optimized file sizes side by side, including gzipped size estimates. The tool provides a live preview of the optimized SVG markup, rendered directly in the browser for immediate visual feedback. Users can configure which SVGO optimization plugins are enabled or disabled, set numerical precision for coordinates and transforms, and optionally pretty-print the output. Multiple op
Applies optional indentation and line breaks to optimized SVG output for readability.
该项目是 TypeScript 语言的综合指南和教育资源。它涵盖了该语言的基本原则,包括其结构化类型系统、静态类型分析以及将类型化源文件转译为 JavaScript 的过程。 该材料详细介绍了如何使用泛型、条件类型和映射类型来建模复杂数据和可重用的类型逻辑。它还解释了如何使用声明文件为外部 JavaScript 库提供类型安全,以及如何通过 JSDoc 注释将类型检查集成到现有的 JavaScript 项目中。 内容范围扩展到面向对象编程模式、DOM 操作和编译器行为配置。它包括关于管理模块互操作性、设置构建管线以及利用编辑器智能以提高开发者生产力的指导。
Details how to compress JavaScript files by mangling names and removing whitespace to reduce download times.
这是一个用于优化 Angular 应用程序性能的技术参考和指南。它提供了一份全面的检查清单,通过关注包优化、渲染最佳实践和运行时执行来提高速度和效率。 该指南涵盖了广泛的差异化因素,包括通过 Service Workers 和离线缓存实现渐进式 Web 应用策略。它还详细介绍了使用服务端渲染和应用外壳来改善感知加载时间的方法。 该仓库提供了关于更广泛功能领域的指导,例如变更检测调优、使用 Web Workers 卸载繁重计算,以及通过虚拟滚动进行 DOM 管理。它还涵盖了通过 Tree-shaking、压缩和懒加载模块拆分来减小包体积的方法。
Decreases payload size by removing comments and whitespace and renaming variables to reduce bandwidth.
该项目是一个专门的浏览器调试界面,旨在监控 DOM 元素、网络流量和 JavaScript 执行。它提供了一个用于检查和调试 Web 应用程序的客户端用户界面,允许实时修改 CSS 样式并调查 JavaScript 运行时。 该工具包包括用于 WebAssembly 的专用分析工具,具有反汇编高亮、作用域检查和二进制执行分析功能。它还提供了一个用于分析 HTTP 请求的网络流量检查器,以及一个用于测试属性和 at-rules 的 CSS 样式编辑器。 该系统涵盖了广泛的功能,包括 DOM 树修改、具有 CPU 节流的前端性能分析以及 Service Worker 调试。它还处理源资源管理,例如将网络资产映射到本地文件并美化压缩代码,同时支持多语言本地化。 该项目使用 TypeScript 开发,并采用具有按需模块加载功能的组件化架构。
Generates formatted versions of minified script resources to improve readability during debugging.