koa-query-checker
Query checker middlware for koa. If the query string is illegal, it will redirect with the query string.
Installation
$ npm install koa-query-checker
Examples
View the ./examples directory for working examples.
API
const Koa = ;const koaQueryChecker = ;const app = ;app;
param
querystring, eg:cache=false or cache=false&type=0
License
MIT