Skip to content

shanebo/slashless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slashless

Middleware for Dylan which redirects trailing slash requests.

Install

npm install @dylan/slashless

Usage

const dylan = require('dylan');
const slashless = require('@dylan/slashless');
const app = dylan();

app.use(slashless());

/foo/ redirects to /foo.

About

Middleware for Dylan which redirects trailing slash requests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published