connect-slashes
JSON →Trailing slash redirect middleware for Connect and Express.js. Version 1.4.0 is the current stable release, with no predictable cadence. It automatically appends or removes trailing slashes from URLs to enforce canonical URLs. Unlike alternatives like `express-slash`, it uses 301 redirects by default and supports custom base paths and headers. It only affects GET, HEAD, and OPTIONS requests to avoid data loss on POST/PUT.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 4 distinct systems
last hit 18d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/connect-slashes
compatibility /v1/registry/connect-slashes/compatibility