pretty-trace
v0.3.1
Published
Stacktrace prettyfier with theme support.
Downloads
38,607
Readme
pretty-trace
Prettifies traces emitted by tools like lldb.
var prettyTrace = require('pretty-trace');
var lines = fs.readFileSync(__dirname + '/test/fixtures/lldb-trace.txt', 'utf8').split('\n');
var prettyLines = prettyTrace.lines(lines, prettyTrace.terminalTheme);
console.log(prettyLines.join('\n'))
CLI
cat ./test/fixtures/lldb-trace.txt | pretty-trace
Installation
npm install pretty-trace
Used by resolve-jit-symbols.
generated with docme
License
MIT