mongoose-unique-validator

v3.0.0

mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema.

MIT
Latest version published 8 months ago
    npm install mongoose-unique-validator
  

Package Health Score

73 / 100

Security

No known security issues
Powered by Snyk
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
3.0.0 | 10/2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
2.0.3 | 04/2019
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
1.0.6 | 09/2017
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
0.6.2 | 12/2015
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
0.5.1 | 10/2015
  • 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.

# Install the Snyk CLI and test your project
npm i snyk -g && snyk test mongoose-unique-validator
Get started free

Popularity

Recognized

Weekly Downloads (29,404)

Download trend
Dependents
151
GitHub Stars
506
Forks
66
Contributors
20

Direct Usage Popularity

TOP 5%

The npm package mongoose-unique-validator receives a total of 29,404 downloads a week. As such, we scored mongoose-unique-validator popularity level to be Recognized.

Based on project statistics from the GitHub repository for the npm package mongoose-unique-validator, we found that it has been starred 506 times, and that 151 other projects in the ecosystem are dependent on it.

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

Community

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

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

We found a way for you to contribute to the project! Looks like mongoose-unique-validator is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 73/100 package health 73/100

Maintenance

Sustainable

Commit Frequency

Open Issues
16
Open PR
4
Last Release
8 months ago
Last Commit
7 months ago

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

We found that mongoose-unique-validator demonstrates a positive version release cadence with at least one new version released in the past 12 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Package

Node.js Compatibility
not defined

Age
9 years
Dependencies
3 Direct
Versions
25
Install Size
71.3 kB
Dist-tags
1
# of Files
5
Maintainers
2
TS Typings
Yes

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.