evanw / evanw/node-source-map-support

How can I use this to fix a stack trace string manually?

Open
#244 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

I've got some code, with a stack trace, along with the original file and source map. What can I import and call in order to manually process the stack trace?

In other words, I have

```
const trace = "..."
```

now what do I call to manually convert it to a friendly trace based on the source map?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.