express-router-dependency-graphという、ソースコードを静的解析してexpressのルーティングと使ってるmiddlewareの一覧を出してくれるツールを書きました。 azu/express-router-dependency-graph: A static code analysis tool that creates a dependency graph for express routing. 次のように globでexpressを含むソースコードを指定することで、 そのディレクトリ以下にあるソースコードからexpressのuse,get,post,delete,putなどでのルーティングの一覧を作成します。 [ { filePath: "<root>/src/game.ts", routers: [ { method: "get", path: "/ge
![expressのルーティングを一覧する静的解析ツールを書いた](https://cdn-ak-scissors.b.st-hatena.com/image/square/b26f7dc8f9e783316f720174980e93c627438d74/height=288;version=1;width=512/https%3A%2F%2Fefcl.info%2Fpublic%2Ffavicon.png)