Package
express-mongo-sanitize
Sanitize your express payload to prevent MongoDB operator injection.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/express-mongo-sanitize@2.2.0/ - unpkg
https://unpkg.com/express-mongo-sanitize@2.2.0/ - esm.sh
https://esm.sh/express-mongo-sanitize@2.2.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| csrf-csrf | 137.6k | - | 1 year ago | ESM + CommonJS | - |
| csrf-sync | 122.1k | - | 1 year ago | ESM + CommonJS | - |
| helmet-crossdomain | 324.4k | - | 7 years ago | CommonJS | - |
| @dr.pogodin/csurf | 19.3k | - | 3 days ago | ESM only | - |
| sectxt | 5.4k | - | 5 years ago | CommonJS | - |
| pompelmi | 5.5k | - | 4 months ago | ESM + CommonJS | - |
Indexability: Indexed.