tsc-output-format v1.1.1 is a TypeScript library and CLI tool that formats tsc diagnostic output into JSON, GitHub Actions annotations, grouped text, and more. Released in March 2025 with monthly updates, it supports pretty mode, watch mode, and custom formatters/parsers. Unlike other tsc output processors, it provides a pluggable architecture and first-class TypeScript types. Minimal bundle size (<5KB) and zero runtime dependencies make it suitable for CI pipelines.
npm install tsc-output-formatNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parses tsc diagnostic output from a TypeScript compilation and formats it as JSON.
Use import syntax or set { "type": "module" } in package.json.Import from 'tsc-output-format/formatters'.
Upgrade to v1.1.1 or cast line to number.
Ensure tsc output is not empty and is a string. Use parse(String(tscOutput)).
import { formatGHA } from 'tsc-output-format/formatters';No dependency data recorded yet.