# mozilla/source-map

Consume and generate source maps.

Repository: https://github.com/mozilla/source-map
Canonical: https://ross.abutalabs.com/products/source-map
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2026-07-21T08:20:29+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 40, longevity 100
- inputs: {"age_days": 5536, "days_push": 43, "days_rel": 405, "gap_med": 0, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3724, forks 369 (observed 2026-08-28T04:08:15.596071+00:00)

## What it is
A JavaScript library for generating and consuming source maps, the standard format mapping generated code back to original sources. It provides both high-level (SourceNode) and low-level (SourceMapGenerator/SourceMapConsumer) APIs and works in Node.js and the browser.

## Use cases
- generate source maps for a transpiler or minifier
- map stack trace positions back to original source files
- read and query mappings from an existing source map
- combine or transform source maps in a build tool
- embed original source content in generated source maps

## When to choose
- you are building a compiler, bundler, or minifier that must emit source maps
- you need to resolve generated positions to original sources programmatically
- you need a battle-tested, widely-adopted source map implementation for Node or the browser

## When to avoid
- you only need source map support inside an existing bundler that already provides it
- you need a language other than JavaScript/TypeScript ecosystem tooling
- you need source map generation for CSS-only or other specialized formats with dedicated tooling

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization, developer-tools
- domain: developer-tools, web-development, parsers
- platform: browser
- tags: source-maps, debugging, sourcemaps, nodejs, javascript

## Member repositories
- mozilla/source-map (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.596071+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:29:17.265990+00:00, confidence not recorded.
  - readme: https://github.com/mozilla/source-map (fetched 2026-08-28T04:08:15.596071+00:00, sha 772772fce6d5)
  - registry_npm: https://registry.npmjs.org/source-map (fetched 2026-08-29T09:24:15.156451+00:00, sha 142dad7eb7c2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
