@ladjs/mongoose-unique-validator

v5.0.0

Mongoose plugin which adds pre-save validation for unique fields within a Mongoose schema. This makes error handling much easier, since you will get a Mongoose validation error when you attempt to violate a unique constraint, rather than an E11000 error f For more information about how to use this package see README

Latest version published 2 years ago
License: MIT

Ensure you're using the healthiest npm packages

Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice

Package Health Score

52 / 100

Security

No known security issues
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security and license risk for significant versions

All Versions
Version Vulnerabilities License Risk
5.0.0 | 11/2022
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
4.0.0 | 11/2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
License
MIT
Security Policy
No

Is your project affected by vulnerabilities?

Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.

Get started free

Popularity

Limited

Weekly Downloads (43)

Download trend
GitHub Stars
0
Forks
1
Contributors
20

Direct Usage Popularity

Uncommon

The npm package @ladjs/mongoose-unique-validator receives a total of 43 downloads a week. As such, we scored @ladjs/mongoose-unique-validator popularity level to be Limited.

Based on project statistics from the GitHub repository for the npm package @ladjs/mongoose-unique-validator, we found that it has been starred ? times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

Sustainable
Readme.md
Yes
Contributing.md
No
Code of Conduct
Yes
Contributors
20
Funding
No

With more than 10 contributors for the @ladjs/mongoose-unique-validator repository, this is possibly a sign for a growing and inviting community.


Embed Package Health Score Badge

package health: 52/100 package health 52/100

Maintenance

Inactive

Commit Frequency

No Recent Commits
Open Issues
0
Open PR
0
Last Release
2 years ago
Last Commit
2 years ago

Further analysis of the maintenance status of @ladjs/mongoose-unique-validator based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.

An important project maintenance signal to consider for @ladjs/mongoose-unique-validator is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Package

Node.js Compatibility
>=14

Age
2 years
Dependencies
1 Direct
Versions
3
Install Size
14.8 kB
Dist-tags
1
# of Files
3
Maintainers
5
TS Typings
No

@ladjs/mongoose-unique-validator has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.