Skip to content
JS
Package

mongoose-id-validator

Mongoose plugin to validate that ObjectID references refer to objects that actually exist in the referenced collection

v0.6.0, 4 May 2020LGPL-3.0+CommonJSTypes: NoneSchema validationORMs and query builders
$ npm install mongoose-id-validator

Key numbers

As of 25 Sept 2026
Weekly downloads
2k
-63% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
6 years ago
v0.6.0
GitHub stars
49
27 forks
Open issues / PRs
11 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15kSept 2025Mar 2026Sept 2026High 13.3k (11 Nov 2025)Low 2k (15 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,983 downloads last week, 11,819 in the last month. The 12-month change of -63% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.6.0, 4 May 20206 years ago
First published
-
Last push to GitHub
5 Sept 20231,115 days before the snapshot
Repository archived
No
Open issues
11
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
18

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
44 kB
Dependencies (2)
clonetraverse
npm install mongoose-id-validator
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mongoose-id-validator@0.6.0/
  • unpkghttps://unpkg.com/mongoose-id-validator@0.6.0/
  • esm.shhttps://esm.sh/mongoose-id-validator@0.6.0
PackageWeekly downloadsGzipLast releaseModuleComparison
mongoose-unique-validator36.9k-6 months agoESM only-
generate-schema105.3k-8 years agoCommonJS-
@indexeddb-orm/idb-orm41.9k-24 days agoESM + CommonJS-
squid5.4k-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1983 < 10000.