route-mirror
Auto generate redirects for similar urls in express.
Install
$ npm install --save route-mirror
Usage
var routeMirror = var app = // create a mirror that can be used to set up redirects for non-slugified urls.var mirror = // this will set up two routes:// '/this-is-a-test'// '/thisisatest' which will redirect to '/this-is-a-test'mirror
License
ISC © Raine Lourie