@dylan/slashless

0.1.0 • Public • Published

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.

/@dylan/slashless/

    Package Sidebar

    Install

    npm i @dylan/slashless

    Weekly Downloads

    46

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    1.94 kB

    Total Files

    4

    Last publish

    Collaborators

    • steadymade
    • shanebo