1.0.0 • Published 5 years ago
@twilson63/queryparams v1.0.0
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
)
1.0.0
5 years ago