routes.js
routes.js copied to clipboard
alias addRoute to add
trafficstars
Loving this module!
This is a bike shed but I always end up typing router.addRoute a lot which seems a bit redundant to me so I've aliased add to addRoute.
:+1:
Neutral. I'd rather keep the interface stable.