# danvk/source-map-explorer

Analyze and debug space usage through source maps

Repository: https://github.com/danvk/source-map-explorer
Canonical: https://ross.abutalabs.com/products/source-map-explorer
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: source-map, javascript, treemap, minification
Last push: 2023-03-14T16:39:24+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3975, "days_push": 1268, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3933, forks 114 (observed 2026-08-28T04:08:30.021633+00:00)

## What it is
A Node.js CLI tool that analyzes JavaScript bundle size by mapping each byte of minified code back to its original source file via source maps. It renders an interactive treemap visualization and can also output JSON, TSV, or HTML reports.

## Use cases
- find out which files bloat my webpack bundle
- visualize javascript bundle size as a treemap
- detect duplicate libraries like two copies of React in a bundle
- analyze minified code size per source file
- export bundle size breakdown as  or tsv
- debug why my production bundle is so large

## When to choose
- you have source maps for your minified JS/Sass/LESS bundles and want per-file size attribution
- you want a quick CLI-based treemap visualization without wiring up a build plugin
- you need machine-readable bundle size reports (JSON/TSV) for CI or tooling

## When to avoid
- you need runtime performance profiling rather than static bundle size analysis
- your bundles lack source maps
- you prefer an integrated build-plugin workflow like webpack-bundle-analyzer inside webpack

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, data-visualization, cli
- domain: developer-tools, web-development, frontend, data-visualization
- platform: cli, cross-platform
- tags: source-maps, bundle-analysis, treemap, javascript, minification, code-bloat, nodejs

## Member repositories
- danvk/source-map-explorer (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:30.021633+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:24:39.921077+00:00, confidence not recorded.
  - readme: https://github.com/danvk/source-map-explorer (fetched 2026-08-28T04:08:30.021633+00:00, sha d02e78b9b0a5)
  - registry_npm: https://registry.npmjs.org/source-map-explorer (fetched 2026-08-29T09:18:39.482873+00:00, sha 2616bab5053c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
