console-log-json
hiro5id/console-log-json
TypeScript
Zero-dependency drop-in for console.log(). One import turns every console. call into clean single-line structured JSON with automatic timestamp, filename, call stack, and safe handling for objects, errors, and circular references.* Works in Node.js and the browser. Perfect for LogDNA, DataDog, Splunk, or ELK — no code changes required.