@dylan/slashless
v0.1.0
Published
Middleware for Dylan which redirects trailing slash requests.
Downloads
216
Readme
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
.