Open source · Runs 100% locally

A CLI for keeping your
codebase clean.

Detect dead API endpoints, generate smart .gitignore files, and spin up mock APIs from TypeScript types — in seconds.

terminal

$ npx dev-audit dead scan

Scanning repository...

✓ Framework detected: Next.js

 

Routes found: 12

Frontend calls: 9

 

Dead endpoints detected: 3

  → GET     /api/legacy-users   (src/routes.ts:14)

  → POST    /api/test-payment   (src/routes.ts:28)

  → DELETE  /api/old-session    (src/routes.ts:41)

 

Review these endpoints — they may be legacy code that can be removed.

Installation

Use all tools together or install only what you need.

Option Arecommended

Full suite — all three tools

Run any tool instantly with a single install. No global setup required.

$ npx dev-audit dead scan

$ npx dev-audit gitignore generate --write

$ npx dev-audit mock serve --types ./src/types.ts

Option B

Individual tools

Install only the tools you actually use.

# Dead API Detector

$ npx @dev-audit/dead-api-detector scan

or install globally

$ npm install -g @dev-audit/dead-api-detector

# Gitignore Generator

$ npx @dev-audit/gitignore-generator generate --write

or install globally

$ npm install -g @dev-audit/gitignore-generator

# Mock API Generator

$ npx @dev-audit/mock-api-generator serve --types ./src/types.ts

or install globally

$ npm install -g @dev-audit/mock-api-generator

Everything you need to stay clean

Three tools. One CLI. Zero data sent anywhere.

Dead API Detector

Scans your backend routes and cross-references them against frontend calls. Flags anything that's never used.

ExpressNext.jsNestJS

Smart Gitignore

Detects your project stack automatically and generates a tailored .gitignore — no more copy-pasting from the internet.

NodePythonDockerTerraform

Mock API Generator

Point it at your TypeScript types and get a running mock server with realistic fake data. Frontend-first development, unblocked.

TypeScriptRESTFaker

Privacy first, always.

dev-audit runs entirely on your machine. Your code never leaves your terminal.

  • No source code uploaded anywhere
  • No telemetry or analytics
  • No network requests by default
  • Read-only — never modifies your files unless you ask it to

Open source & community driven

dev-audit is MIT licensed. Contributions, bug reports, and feature requests are welcome.