$ npm install error-stack-tracey
Trace error stack with sourcemap.
const { parse, print } = require('error-stack-tracey');
// Parse the error stack
const errorStack = await parse(error, bundleContent);
// Print the error stack
print(errorMessage, errorStack);
© 2010 - cnpmjs.org x YWFE | Home | YWFE