Skip to content
JS
Package

express-mongo-sanitize

Sanitize your express payload to prevent MongoDB operator injection.

v2.2.0, 14 Jan 2022MITCommonJSTypes: BundledHTTP servers and web frameworksSecurity
$ npm install express-mongo-sanitize

Key numbers

As of 25 Sept 2026
Weekly downloads
202.9k
+10% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v2.2.0
GitHub stars
219
18 forks
Open issues / PRs
5 / 13
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 481.5k (16 Jun 2026)Low 105.8k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

202,948 downloads last week, 1,102,983 in the last month. The 12-month change of +10% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.2.0, 14 Jan 20224 years ago
First published
-
Last push to GitHub
11 May 20231,232 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
13
Commits, last 52 weeks
0
Dependents on npm
112

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (0)
None
npm install express-mongo-sanitize
  • jsDelivrhttps://cdn.jsdelivr.net/npm/express-mongo-sanitize@2.2.0/
  • unpkghttps://unpkg.com/express-mongo-sanitize@2.2.0/
  • esm.shhttps://esm.sh/express-mongo-sanitize@2.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
csrf-csrf137.6k-1 year agoESM + CommonJS-
csrf-sync122.1k-1 year agoESM + CommonJS-
helmet-crossdomain324.4k-7 years agoCommonJS-
@dr.pogodin/csurf19.3k-3 days agoESM only-
sectxt5.4k-5 years agoCommonJS-
pompelmi5.5k-4 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.