awesome-repositories.com
ब्लॉग
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेस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 के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Source Map के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Source Map के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • rich-harris/magic-stringRich-Harris का अवतार

    Rich-Harris/magic-string

    2,668GitHub पर देखें↗

    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
  • terser/terserterser का अवतार

    terser/terser

    9,299GitHub पर देखें↗

    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
  • browserify/browserify-handbookbrowserify का अवतार

    browserify/browserify-handbook

    4,595GitHub पर देखें↗

    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/uglifyjsmishoo का अवतार

    mishoo/UglifyJS

    13,392GitHub पर देखें↗

    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
Source Map के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

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 के ओपन-सोर्स विकल्पों में शामिल हैं: terser/terser — Terser is a JavaScript minifier and compressor designed to reduce file size through whitespace removal, symbol… rich-harris/magic-string — magic-string is a low-level JavaScript library designed for compilers and bundlers to perform source code… browserify/browserify-handbook — The browserify-handbook is a comprehensive documentation guide for Browserify, a CommonJS module bundler and… google/closure-compiler-js — Closure Compiler is a JavaScript build utility designed to transform, optimize, and validate source code for… 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.…