Skip to content
JS
Package

class-validator

Decorator-based property validation for classes.

v0.15.1, 26 Feb 2026MITESM + CommonJSTypes: Bundled
$ npm install class-validator

Key numbers

As of 25 Sept 2026
Weekly downloads
8.2m
+102% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
6 months ago
v0.15.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 11.9m (25 Aug 2026)Low 3.3m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

8,212,234 downloads last week, 42,031,397 in the last month. The 12-month change of +102% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
344 in total
Latest version
0.15.1, 26 Feb 20266 months ago
First published
18 Apr 2016
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
7,398

Major versions

  1. v0 first release 0.3.0, 18 Apr 2016

Recent releases

VersionPublished
0.15.126 Feb 2026
0.14.425 Feb 2026
0.14.324 Nov 2025
0.14.22 May 2025
0.14.112 Jan 2024
0.14.09 Dec 2022
0.13.220 Nov 2021
0.13.114 Jan 2021
0.13.011 Jan 2021
0.12.223 Apr 2020
0.12.118 Apr 2020
0.12.018 Apr 2020
0.11.118 Mar 2020
0.11.01 Nov 2019
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
5.1 MB
Dependencies (3)
validator@types/validatorlibphonenumber-js
npm install class-validator

CDN

jsDelivr: 229.3k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/class-validator@0.15.1/
  • unpkghttps://unpkg.com/class-validator@0.15.1/
  • esm.shhttps://esm.sh/class-validator@0.15.1
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.