Express middleware that normalizes incoming query parameter names to be case-insensitive. Current stable version is 0.5.1, with low release cadence (last update likely pre-2018). Key differentiator: simple array-based whitelist approach, no dependencies, small footprint. Alternative to libraries like 'express-case-sensitive' or manual normalization. Note: only handles case normalization, not type coercion or default values.
npm install express-normalize-query-params-middlewareVerified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage: normalizes query params to lowercase keys based on whitelist.
Ensure all expected parameters are included in the array passed to normalizeQueryParams.
Always use lowercase strings in the whitelist to avoid confusion.
Place this middleware early in the stack, before any middleware that depends on normalized query params.
Use correct import: import normalizeQueryParams from 'express-normalize-query-params-middleware' or const normalizeQueryParams = require('express-normalize-query-params-middleware').defaultRun: npm install express-normalize-query-params-middleware
No dependency data recorded yet.