@caviajs/http-query
v1.0.5
Published
ecosystem for your guinea pig
Downloads
14
Readme
Introduction
This package contains HttpQuery
which can be used to parse query parameters.
Usage
Installation
npm install @caviajs/http-query --save
Parsing
import { HttpQuery } from '@caviajs/http-query';
router
.route({
handler: (request, response, next) => {
const query = HttpQuery.parse(request);
// query...
},
/* ... */
});