class-validator

v0.13.2

Decorator-based property validation for classes.

MIT
Latest version published 6 months ago
    npm install class-validator
  

Package Health Score

66 / 100

Security

Security issues found
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
0.13.2 | 11/2021
Popular
  • 0
    H
  • 0
    M
  • 0
    L
0.12.2 | 04/2020
  • 0
    H
  • 0
    M
  • 0
    L
0.11.1 | 03/2020
  • 0
    H
  • 0
    M
  • 0
    L
0.10.2 | 10/2019
  • 0
    H
  • 0
    M
  • 0
    L
0.9.1 | 07/2018
  • 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 class-validator
Get started free

Popularity

Key ecosystem project

Weekly Downloads (1,108,942)

Download trend
Dependents
1.38K
GitHub Stars
7.74K
Forks
593
Contributors
90

Direct Usage Popularity

TOP 5%

The npm package class-validator receives a total of 1,108,942 downloads a week. As such, we scored class-validator popularity level to be Key ecosystem project.

Based on project statistics from the GitHub repository for the npm package class-validator, we found that it has been starred 7,736 times, and that 1,383 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

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

With more than 10 contributors for the class-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 class-validator is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 66/100 package health 66/100

Maintenance

Sustainable

Commit Frequency

Open Issues
333
Open PR
52
Last Release
6 months ago
Last Commit
1 month ago

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

We found that class-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
6 years
Dependencies
2 Direct
Versions
57
Install Size
3.82 MB
Dist-tags
4
# of Files
910
Maintainers
5
TS Typings
Yes

class-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.