Skip to content

use req.parsedParameters (parameters parsed using build-in querystring mosule...

Pavlo Mashliakovskiy requested to merge feat/useBuildInParamsParsed into master
  • use req.parsedParameters (parameters parsed using build-in querystring module and lazy cached) instead of 3-d party qs module
  • I can also recommend to use querystring in other places, where qs is used
  • also there is build-in req.getHeader() req.getHeaders() methods what returns parsed (and cached) headers (to be used instead of decodeHeaders)
Edited by Pavlo Mashliakovskiy

Merge request reports

Loading