express-trailing-slash

Express middleware for redirecting URLs without trailing slash to the same URL with a trailing slash

Usage no npm install needed!

<script type="module">
  import expressTrailingSlash from 'https://cdn.skypack.dev/express-trailing-slash';
</script>

README

express-trailing-slash

Express middleware for redirecting URLs without trailing slash to the same URL with a trailing slash