349 / 490

Ghostbusters

Ghostbusters - Product Hunt launch logo and brand identity

Stop phantom endpoints from haunting your codebase.

#Productivity #Developer Tools #GitHub #Tech

Ghostbusters – Detect and remove unused or broken endpoints in React-to-Express projects

Summary: Ghostbusters is a lightweight JavaScript CLI tool that identifies unused or broken API endpoints in React-to-Express applications by parsing code with Babel. It integrates into Git workflows via pre-commit hooks to prevent committing dead or mismatched routes, ensuring frontend and backend routing stay synchronized.

What it does

Ghostbusters uses AST parsing to scan code structure and detect ghost routes. It integrates with Husky to run checks automatically before Git commits, flagging deprecated or broken endpoints early.

Who it's for

It is designed for developers working with React and Express who need to maintain consistent routing between frontend and backend codebases.

Why it matters

It prevents broken fetch requests and deprecated endpoints from persisting in codebases, reducing runtime errors and improving code maintenance.