parse general queries to your express routes. we support mongoose , sql & custom adatapers for parsing routes

This package is used to parse general queries and any other apdapter you want or create to add to your express routes. By using this package as middleware app.user(queryParameters.middleware()) you will be able to have all parsed parameters waiting for you at req.queryParameters to do and search as you please.

  • Construct queryParameters({}) – allows you to set the options
  • Config queryParameters.config({}) – give you a way to get or set the config
  • Middleware – queryParameters.middleware() – Middlware pulls from req.query for query and from the options set in the contruct & config
  • Parse – var data = queryParameters.parse(queryObj)

Launch Project

See it Live!

Share this Project