normalize-path

Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.

@entva/express-trailingslash

ExpressJS middleware that redirects requests with trailing slashes to a clean one without it