API Route Lister - The Ultimate CLI Tool for Discovering API Routes
Ever wondered how many API endpoints your application has? I built a CLI tool that scans your source code and lists all your routes - with code preview, search, and filtering! ๐ What is API Route ...

Source: DEV Community
Ever wondered how many API endpoints your application has? I built a CLI tool that scans your source code and lists all your routes - with code preview, search, and filtering! ๐ What is API Route Lister? API Route Lister is a command-line tool that automatically scans your codebase and discovers all API endpoints. It supports multiple frameworks including Express, Fastify, Next.js, Hapi, and Koa. Key Features ๐ Auto-Detection - Automatically detects your framework ๐ป Code Preview - View endpoint code directly in CLI ๐ฎ Interactive Mode - Browse with keyboard navigation ๐ Search & Filter - Find routes by path or HTTP method ๐ Multiple Views - Table, List, or Tree format ๐ค Export - JSON and Markdown output ๐ฆ Installation npm install -g api-route-lister ๐ Quick Start api-route-lister ./src api-route-lister ./src -i api-route-lister ./src -o tree -c ๐ฎ Interactive Mode Controls [j] Next [k] Prev [v] View Code [g] Go To [/] Search [f] Filter [r] Reset [q] Quit Quick Commands g 50