mongoose-unique-validator

v2.0.3

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

MIT
Latest version published 2 years ago
    npm install mongoose-unique-validator
  
We couldn't find any similar packages Browse all packages

Package Health Score

59 / 100
Make sure the open source you're using is safe to use
Secure my Project

Popularity

Recognized

Weekly Downloads (30,666)

Dependents
151
GitHub Stars
453
Forks
56
Contributors
20

The npm package mongoose-unique-validator receives a total of 30,666 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 453 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.

Security

No known security issues
Powered by Snyk

Security and license risk for significant versions

All Versions

Direct Vulnerabilities

0.4.1
0.5.1
0.6.2
1.0.6
2.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

0.4.1
0.5.1
0.6.2
1.0.6
2.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

License Risks

0.4.1
0.5.1
0.6.2
1.0.6
2.0.3
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
All security vulnerabilities belong to production dependencies of direct and indirect packages.

License
MIT

Security Policy
No

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


You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.

    # Install the Snyk CLI and test your project
npm i snyk -g && snyk test mongoose-unique-validator
Keep your project free of vulnerabilities with Snyk

Maintenance

Inactive

Commit Frequency

No Recent Commits
Open Issues
15
Open PR
4
Last Release
2 years ago
Last Commit
1 year 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 Inactive.

An important project maintenance signal to consider for 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.

Community

Sustainable
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: 59/100 package health 59/100

Package

Node.js Compatibility
not defined

Age
8 years
Dependencies
2 Direct
Versions
23
Install Size
70.4 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.