pretty-path-express

Prettify a path, for transfering it to express.render() or others. By the default, different servers use different slashes for pathname: `/` or `\`, but getPath() function fixes this dependency, so we can give it our path and get the full result back.

Browse on unpkg