Detect dead API endpoints, generate smart .gitignore files, and spin up mock APIs from TypeScript types — in seconds.
$ 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.
Use all tools together or install only what you need.
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
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
Three tools. One CLI. Zero data sent anywhere.
Scans your backend routes and cross-references them against frontend calls. Flags anything that's never used.
Detects your project stack automatically and generates a tailored .gitignore — no more copy-pasting from the internet.
Point it at your TypeScript types and get a running mock server with realistic fake data. Frontend-first development, unblocked.
dev-audit runs entirely on your machine. Your code never leaves your terminal.
dev-audit is MIT licensed. Contributions, bug reports, and feature requests are welcome.