▲ Prints the tree of Express routes and middlewares to a file at github.com▼1 up and 0 down, posted by analog-nico 3119 days ago 3 comments
kaizendad 3119 days ago. link 2 points ▲ ▼Smart idea -- not just in case you lost track of your routes, but would be a good documentation artifact for any kind of project that uses Express.
analog-nico 3119 days ago. link 1 point ▲ ▼Thanks kaizendad! Indeed, I commit the generated file to Git with the features I implement. This way it is even more transparent when a new feature includes e.g. a new api endpoint. And it definitely helps me reviewing the changes before I commit.
analog-nico 3119 days ago. link 1 point ▲ ▼The code was sitting in my app for quite a while now. Since it did such a good job I sat down to open-source it. :)