awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mozilla avatar

mozilla/source-map

0
View on GitHub↗
3,728 نجوم·372 تفرعات·JavaScript·2 مشاهدات

Source Map

This project is a source map implementation library used for generating, parsing, and consuming source maps. It provides the functional components necessary to link transformed or minified code back to original source files, acting as a tool for code transformation debugging.

The library includes a source map composer for building trees of code snippets that automatically produce output strings and mappings. It also functions as a source map merger, providing mechanisms to chain and merge multiple maps to resolve multi-step code transformations across different build stages.

The project covers bidirectional coordinate translation, allowing positions to be mapped from generated source back to original files or from original source to generated output. It provides utilities for parsing encoded mapping strings, retrieving original source content, and iterating through mapping data for programmatic analysis.

Features

  • Minified Code Debugging - Translates runtime errors in minified or transformed code back to the original source files for troubleshooting.
  • Source-to-Generated Code Mappings - Translates positions in generated source back to the original file, line, column, and identifier name.
  • Coordinate Translation Utilities - Translates runtime error positions in generated code back to the original source file, line, and column.
  • Transformation Chaining - Implements the capability to rewrite mappings by applying existing source maps to resolve multi-step transformations.
  • Source Map Resolution - Provides a mechanism for chaining and merging multiple source maps to resolve multi-step code transformations.
  • Source Map Generators - Creates source maps by incrementally adding mappings between original source positions and generated output positions.
  • Map Merging - Provides mechanisms to merge multiple source maps to resolve combined code transformations.
  • Source Map Composers - Provides a tool for building trees of code snippets that automatically generate final output strings and associated source maps.
  • Source Map Implementation Libraries - Implements a full library for generating, parsing, and consuming source maps to link transformed code to original files.
  • Mapped String Concatenations - Tracks offsets during code concatenation to preserve source map metadata while producing the final output string.
  • Composite Source Node Trees - Builds a hierarchy of code fragments and metadata to automatically compute final positions and mappings.
  • Multi-Step Map Merging - Chains and merges multiple source maps to track code changes across several build stages or compilers.
  • VLQ Encodings - Uses Variable-Length Quantity encoding to compress coordinate data for efficient storage and transmission.
  • Source Map Chaining - Provides mechanisms to chain multiple mapping layers, treating one map's output as another's input.
  • Source Mapping Iterators - Traverses the internal coordinate list sequentially to translate every generated position back to its original source.
  • Original-to-Generated Mapping - Translates a specific line and column from an original source file to its corresponding position in the generated output.
  • Snippet Tracking - Provides utilities to automatically track source mappings while concatenating and interpolating generated code snippets.
  • Source Map Extractions - Extracts raw content of original source files directly from the parsed source map data.
  • Source Map Decoders - Decodes encoded mapping strings within a source map to determine relationships between generated and original positions.
  • Node Tree Composition - Offers a composer for building trees of code snippets that automatically generate output strings and associated source maps.
  • Source Mapping Iterators - Traverses every mapping between original and generated source positions using a specified sort order for analysis.

سجل النجوم

مخطط تاريخ النجوم لـ mozilla/source-mapمخطط تاريخ النجوم لـ mozilla/source-map

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Source Map

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Source Map.
  • terser/terserالصورة الرمزية لـ terser

    terser/terser

    9,299عرض على GitHub↗

    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

    JavaScript
    عرض على GitHub↗9,299
  • rich-harris/magic-stringالصورة الرمزية لـ Rich-Harris

    Rich-Harris/magic-string

    2,668عرض على GitHub↗

    magic-string is a low-level JavaScript library designed for compilers and bundlers to perform source code transformations. It serves as a string transformation utility and source map manipulation library that allows for modifying text while automatically tracking character offsets. The library enables the modification of source code strings through insertions, replacements, and removals without losing the relationship to original source positions. It specifically provides mechanisms to generate mapping files that link transformed output text back to original source file coordinates. Capabili

    JavaScript
    عرض على GitHub↗2,668
  • browserify/browserify-handbookالصورة الرمزية لـ browserify

    browserify/browserify-handbook

    4,595عرض على GitHub↗

    The browserify-handbook is a comprehensive documentation guide for Browserify, a CommonJS module bundler and JavaScript build tool. It explains how to compile Node.js style modules into single JavaScript files for execution within web browsers. The guide covers the generation of universal module definition bundles that function across Node, AMD, and browser environments. It also details the use of browser-compatible polyfills for Node.js built-in modules to ensure cross-platform compatibility. The manual describes capabilities for source code transformation, frontend build automation, and we

    JavaScript
    عرض على GitHub↗4,595
  • mishoo/uglifyjsالصورة الرمزية لـ mishoo

    mishoo/UglifyJS

    13,392عرض على GitHub↗

    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
    عرض على GitHub↗13,392
عرض جميع البدائل الـ 30 لـ Source Map→

الأسئلة الشائعة

ما هي وظيفة mozilla/source-map؟

This project is a source map implementation library used for generating, parsing, and consuming source maps. It provides the functional components necessary to link transformed or minified code back to original source files, acting as a tool for code transformation debugging.

ما هي الميزات الرئيسية لـ mozilla/source-map؟

الميزات الرئيسية لـ mozilla/source-map هي: Minified Code Debugging, Source-to-Generated Code Mappings, Coordinate Translation Utilities, Transformation Chaining, Source Map Resolution, Source Map Generators, Map Merging, Source Map Composers.

ما هي البدائل مفتوحة المصدر لـ mozilla/source-map؟

تشمل البدائل مفتوحة المصدر لـ mozilla/source-map: rich-harris/magic-string — magic-string is a low-level JavaScript library designed for compilers and bundlers to perform source code… terser/terser — Terser is a JavaScript minifier and compressor designed to reduce file size through whitespace removal, symbol… browserify/browserify-handbook — The browserify-handbook is a comprehensive documentation guide for Browserify, a CommonJS module bundler and… mishoo/uglifyjs — UglifyJS is a tool for JavaScript code minification, AST manipulation, and source beautification. Its primary purpose… web-infra-dev/rspack — Rspack is a high-performance web bundler written in Rust that packages JavaScript and TypeScript for web applications.… istanbuljs/nyc — nyc is a JavaScript code coverage tool and command-line interface that instruments source files to track the execution…