12 个仓库
Reducing code size through whitespace and identifier optimization.
Explore 12 awesome GitHub repositories matching software engineering & architecture · JavaScript Minification. Refine with filters or upvote what's useful.
Bun is a high-performance runtime environment designed to execute JavaScript and TypeScript applications with minimal latency and high throughput. Built on a native core implemented in Zig, it provides a unified execution engine that leverages JavaScriptCore for efficient memory management and low-latency startup. The project functions as an all-in-one toolchain, integrating a native bundler, transpiler, package manager, and test runner into a single command-line interface. What distinguishes Bun is its focus on native system integration and developer productivity. It features a high-performa
Minimizes file size by stripping whitespace and shortening identifiers during the build process to accelerate application load times.
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
Reduces JavaScript bundle size by removing unnecessary characters and optimizing code structure.
oxc is a high-performance JavaScript toolchain developed in Rust for parsing, transforming, and analyzing JavaScript and TypeScript source code. It provides a set of core utilities including a parser that converts code into an abstract syntax tree, a linter for identifying problematic patterns, a formatter for standardizing visual style, and a minifier for reducing production file sizes. The project focuses on high-performance execution through a system design that utilizes single-pass parsing, zero-copy string slicing, and parallel worker processing to handle large codebases. It further opti
Reduces the size of JavaScript files for production by removing unnecessary characters and shortening identifiers.
Rolldown is a high-performance JavaScript and TypeScript module bundler written in Rust. It functions as a fast module compiler that implements a Rollup-compatible API to ensure compatibility with existing workflows and plugins while specializing in ECMAScript Module formats. The project distinguishes itself by using a Rust-based core engine and lazy compilation to reduce the time spent resolving and transforming source code. It focuses on minimizing final delivery sizes through static analysis and tree-shaking to remove unused code. The toolset covers a broad range of build capabilities, in
Reduces final bundle size through whitespace removal, identifier optimization, and shortening variable names.
UglifyJS2 is a suite of tools designed for parsing, beautifying, mangling, and minifying JavaScript code. It functions by converting source code into an abstract syntax tree to enable programmatic analysis and transformation, and it includes a dedicated generator for creating associated source maps. The project optimizes web production builds by compressing script logic and removing unreachable code. It utilizes name mangling to shorten variable and property names and implements a beautifier to reconstruct compressed scripts into a human-readable layout. The toolset covers broad capability a
Implements comprehensive JavaScript minification by removing whitespace and optimizing identifiers to reduce file size.
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
Reduces JavaScript file size through whitespace removal and identifier optimization for faster web page loading.
SB Admin 2 is an open-source admin dashboard theme built on Bootstrap, providing a ready-made interface for building administrative panels and data management tools. The project includes a complete Bootstrap-based UI framework with responsive layout components and utility classes as its foundation. The theme comes with an integrated development workflow that includes a file-watching development server with automatic browser reloading, SCSS-to-CSS compilation, JavaScript minification, and vendor dependency management through a Gulp-based build pipeline. This tooling allows developers to custom
Reduces JavaScript file size by stripping whitespace and comments through automated processing.
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
Implements advanced structural rewriting to remove redundant logic and simplify JavaScript expressions.
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
Reduces the file size of JavaScript bundles by removing whitespace and shortening identifiers.
Rushstack 是一个用于管理大规模 TypeScript 单体仓库(monorepo)的综合工具集,为构建流水线自动化、依赖协调和静态分析提供了框架。它作为一个增量构建编排器和管理系统,旨在在共享工作区中的多个包之间保持一致性和性能。 该系统通过基于有向无环图和基于内容哈希的增量模型脱颖而出,确保仅重建受影响的项目。它通过与 S3、Azure 和 HTTP 集成的远程构建工件缓存进一步优化开发工作流,并利用基于符号链接的工作区管理来实现本地更改的即时可见性。 该工具集涵盖了广泛的功能,包括自动化发布工作流、API 合约分析以及通过标准化 Linting 配置文件强制执行企业代码质量。它还为资产打包、TypeScript 转译以及从 JSON 模式和静态资产生成类型定义提供了广泛支持。 其他实用领域包括本地化管理、许可证声明生成以及具有同步进程输出的命令行界面编排。
Compresses JavaScript code using parallel processing to reduce asset size and improve build speed.
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
Reduces the size of JavaScript files by removing whitespace and unnecessary characters to improve load times.
This project is a collection of Go libraries designed to reduce the size of multiple web formats while preserving functional integrity. It serves as a high-performance text processor and multi-format asset compressor for shrinking HTML, CSS, JavaScript, JSON, SVG, and XML files by removing redundant characters. The tool is designed for both static batch processing and real-time use. It includes middleware capabilities to intercept and minify web responses on the fly based on MIME types or file extensions, allowing for content compression during active data streams. The processing suite cover
Reduces JavaScript payload size by shortening variable names and removing whitespace and semicolons.