
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
pretty-trace
Advanced tools
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'))
cat ./test/fixtures/lldb-trace.txt | pretty-trace
npm install pretty-trace
Used by resolve-jit-symbols.
A theme that surrounds the given trace using with spans classed trace-*
in order to allow styling with CSS.
Regexes used to match callgraphs generated with Mac Instruments.
Regexes used to match debug traces created by tools like lldb.
Regexes used to match callgraphs generated running Linux perf, i.e. perf script
.
A theme that colorizes the given trace using ANSI color codes.
Prettifies the given line.
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line | string | the line to be prettified | ||||||||||||||||||
theme | Object | theme that specifies how to prettify a trace Properties
|
prettified line
Prettifies multiple lines.
Name | Type | Description |
---|---|---|
lines | Array.<string> | lines to be prettified |
theme | Object | theme that specifies how to prettify a trace @see prettyTrace::line |
the prettified lines
generated with docme
MIT
FAQs
Stacktrace prettyfier with theme support.
The npm package pretty-trace receives a total of 8,544 weekly downloads. As such, pretty-trace popularity was classified as popular.
We found that pretty-trace demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.