{"id":26478,"library":"tidy-tsc","title":"tidy-tsc","description":"A CLI tool to clean up and format TypeScript compiler (tsc) output, making it more readable. Version 0.0.4 is the latest stable release, with an active development cadence. It strips redundant information, removes duplicate file paths, and colorizes output. Unlike manual grep or awk scripts, tidy-tsc provides a dedicated, cross-platform solution focused solely on tsc output. Requires Node.js >=22.","status":"active","version":"0.0.4","language":"javascript","source_language":"en","source_url":"https://github.com/electrovir/tidy-tsc","tags":["javascript","tsc","cli","output","clean","vir"],"install":[{"cmd":"npm install tidy-tsc","lang":"bash","label":"npm"},{"cmd":"yarn add tidy-tsc","lang":"bash","label":"yarn"},{"cmd":"pnpm add tidy-tsc","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"CLI tool requires Node.js >=22; no other runtime dependencies.","package":"node","optional":false}],"imports":[{"note":"tidy-tsc is a CLI tool, not a library. Install globally and use as a shell command: `tsc | tidyt`.","wrong":null,"symbol":"tidy-tsc","correct":"npm install -g tidy-tsc"}],"quickstart":{"code":"#!/usr/bin/env bash\n# Example: Run tsc and pipe to tidyt\nnpx tsc --noEmit --pretty 2>&1 | npx tidy-tsc\n# Or if installed globally:\ntsc --noEmit --pretty | tidyt\n","lang":"typescript","description":"Shows how to pipe tsc output through tidy-tsc to clean up error and warning messages. Use with --pretty flag for best results."},"warnings":[{"fix":"Use pipe syntax: `tsc | tidyt`.","message":"tidy-tsc expects tsc output piped via stdin; it does not read files or accept file arguments. Ensure you pipe from a `tsc` command.","severity":"gotcha","affected_versions":"all"},{"fix":"Do not use tidy-tsc with `--watch`; use it after tsc completes.","message":"tidy-tsc does not work with tsc's `--watch` mode output because it expects a one-shot output. Piping from `--watch` may cause unexpected behavior.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to latest version: `npm install -g tidy-tsc@latest`.","message":"Older versions (<0.0.2) required a separate tsx installation; this dependency was removed in v0.0.2.","severity":"deprecated","affected_versions":"<0.0.2"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `npm install -g tidy-tsc` to install globally.","cause":"tidy-tsc is not installed globally or the bin is not in PATH.","error":"tidyt: command not found"},{"fix":"Use `npx tidy-tsc` or install globally and run `tidyt` from shell.","cause":"Trying to use `require('tidy-tsc')` as a library; it is a CLI tool only.","error":"Error: Cannot find module 'tidy-tsc'"},{"fix":"Ensure you run `tsc | tidyt` or `tsc | npx tidy-tsc`.","cause":"Input is not being piped from tsc.","error":"No input received (empty)"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}