evanw/node-source-map-support
Adds source map support to node.js (for stack traces) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4975
- days_rel: n/a
- days_push: 760
- n_releases_24m: 0
Adoption not part of the score
2195 stars · 221 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js library that adds source map support to stack traces using the V8 stack trace API, remapping compiled file paths and line numbers back to their original sources. It works with any compile-to-JS language and also supports browsers via bundlers like Browserify.
Use cases
- show original file paths and line numbers in stack traces for transpiled code
- debug TypeScript or Babel-compiled JavaScript running in Node
- get correct stack traces when using the vm module
- fix Error.prototype.stack source maps in Chrome
- readable stack traces for Mocha test runs
When to choose
- you're on Node < 12.12.0 without the --enable-source-maps flag
- you use vm.runInThisContext where --enable-source-maps doesn't work
- you need source-mapped stack traces in the browser outside DevTools
When to avoid
- you're on Node >= 12.12.0 and can just use --enable-source-maps
- you use babel-register, which already includes it
Facets
library · maturity maintenance
developer-tools logging error-handling developer-tools web-development programming-languages browser cli source-maps stack-traces debugging v8 transpilers nodejs
1 source
- readme: https://github.com/evanw/node-source-map-support · fetched 2026-08-28 · 987ef43e7f04
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| evanw/node-source-map-support | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="evanw/node-source-map-support")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem