@twilson63/queryparams
v1.0.0
Published
A http composable handler that extracts the query params from an url and adds them to the http ctx object
Downloads
4
Readme
queryparams
A http composable handler that extracts the query params from an url and adds them to the http ctx object
Usage
module.exports = httpCompose(
({ req, res, query, send }) => {
send({ echo: query.echo })
},
sendJSON,
queryparams
)