koa-no-trailing-slash
Version:
Koa middleware that redirects all requests to an URL with a trailing slash to the same URL without it.
33 lines (32 loc) • 733 B
JSON
{
"name": "koa-no-trailing-slash",
"version": "2.1.0",
"description": "Koa middleware that redirects all requests to an URL with a trailing slash to the same URL without it.",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"engines": {
"node": ">=8"
},
"keywords": [
"koa",
"url",
"redirect",
"trailing",
"slash"
],
"author": {
"name": "Tae Sandoval",
"email": "tssm@users.noreply.github.com",
"url": "https://tssm.github.io"
},
"bugs": "https://github.com/tssm/koa-no-trailing-slash/issues",
"license": "CC0-1.0",
"repository": "tssm/koa-no-trailing-slash",
"devDependencies": {
"koa": "^2.2.0",
"mocha": "^3.5.0",
"supertest": "^3.0.0"
}
}