# Cofferdam > TypeScript code-quality analyzer — Rust core, npm wrapper. Inspired by Elixir's Credo. Five-category model: Consistency, Design, Readability, Refactor, Warning. Priority-sorted output, baseline workflow, CI-friendly. Current version: 0.3.7. ## Install `npm install --save-dev @cofferdam/cofferdam` Prebuilt binaries download on postinstall (Linux x64/arm64 glibc+musl, macOS x64/arm64, Windows x64; Node 16+). Escape hatches and air-gapped installs: [install guide](https://tajd.github.io/cofferdam/install). ## Catalog - [Machine-readable index](https://tajd.github.io/cofferdam/checks.json): the canonical artifact. JSON, schema_version 1, sorted by check id. AI agents should consume this. - [Human-readable catalog](https://tajd.github.io/cofferdam/checks/): grouped by category, with prose, examples, and configuration. - [CLI reference](https://tajd.github.io/cofferdam/reference/cli): every flag of every subcommand. - [Full page content](https://tajd.github.io/cofferdam/llms-full.txt): every docs page's raw markdown, concatenated — one fetch instead of one per page. ## Docs - [Agent advisory](https://tajd.github.io/cofferdam/reference/advise): `cofferdam advise` — the rules that apply to a file, before you edit it. - [Output formats](https://tajd.github.io/cofferdam/output-formats): text, JSON, compact, SARIF. - [CI recipes](https://tajd.github.io/cofferdam/ci-recipes): GitHub Actions, GitLab, CircleCI, Drone, pre-commit. - [Suppression directives](https://tajd.github.io/cofferdam/suppression): `// cofferdam-ignore` syntax. - [Ignoring files](https://tajd.github.io/cofferdam/ignore): `.cofferdamignore` rules. - [Per-path overrides](https://tajd.github.io/cofferdam/overrides): retune or disable single checks on matching globs. - [Type-aware checks](https://tajd.github.io/cofferdam/type-aware-checks): checks backed by the TypeScript type system; requirements and opt-out. - [Architectural invariants](https://tajd.github.io/cofferdam/invariants): `cofferdam.invariants.toml`, layering rules, frozen boundaries. - [Plugin SDK](https://tajd.github.io/cofferdam/plugin-sdk-guide): write custom checks in TypeScript with `@cofferdam/check-sdk`. - [Doctor](https://tajd.github.io/cofferdam/doctor): diagnose install/config issues. ## Subcommands - `cofferdam check [paths...]`: run all checks. The default workflow. `--robot` switches to token-economical machine-readable output. - `cofferdam verify --dist