{"repo":"VladimirMikulic/route-list","free":true,"listed":false,"github":"https://github.com/VladimirMikulic/route-list","clone":"git clone https://github.com/VladimirMikulic/route-list.git","description":"Beautifully shows Express/Koa/Hapi/Fastify routes in CLI.","language":"JavaScript","stars":385,"topics":["command-line-tool","expressjs","routes","fastify","koa","hapi"],"license":"MIT","category":"cli-tools","readme_excerpt":"route-list ✨ Beautifully shows Express/Koa/Hapi/Fastify routes in CLI. 📦 Installation 🔌 Configuration Before you can use route-list on your project, we first need to make sure it's configured properly. In order for route-list to work, we need to export server \"app\". The example below is for Express but it also applies to Koa (with @koa/router)/Hapi/Fastify. app.js / app.ts NOTE: In case you use SocketIO with Express, make sure to export Express app , not http.createServer server instance. ☁️ Usage Options - -g, --group - Display routes in groups separated with new line - -m, --methods - Include routes registered for HTTP method(s) - -i, --include-paths - Include routes starting with path(s) - -e, --exclude-paths - Exclude routes starting with path(s) Examples NOTE: In case an app is part of NX monorepo, make sure to build it first. 💻 Programmatic Usage 👨 Author Vladimir Mikulic - Twitter: @VladoDev - Github: @VladimirMikulic - LinkedIn: @vladimirmikulic 🤝 Contributing Contributions, issues and feature requests are welcome! 🍻 Credits The project was inspired by new route:list command in Laravel 9. New route:list itself was inspired by pretty-routes project. Big thanks to Λlex Wulf for building pretty-routes and Laravel community for recognizing the usefulness of the project. ✏️ License This project is licensed under MIT license. 👨‍🚀 Show your support Give a ⭐️ if this project helped you!","default_branch":null,"files":null,"tree":[],"storefront":"/r/VladimirMikulic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/VladimirMikulic/route-list/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}