{"adoption": {"forks": 847, "observed_at": "2026-08-28T04:10:50.096710+00:00", "stars": 11833}, "canonical_url": "https://ross.abutalabs.com/products/class-validator", "card": {"archived": false, "artifact_type": "library", "description": "Decorator-based property validation for classes.", "domain": ["web-development", "backend", "frontend", "developer-tools"], "enriched": true, "function": ["form-handling", "developer-tools"], "health_score": 81, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["typestack/class-validator"], "name": "typestack/class-validator", "platform": ["browser", "cross-platform"], "pushed_at": "2026-03-25T22:18:47+00:00", "repo": "typestack/class-validator", "stars": 11833, "tags": ["validation", "decorators", "class-validator", "typescript", "dto-validation", "validatorjs", "nodejs"], "topics": ["validation", "validator", "decorators", "typescript"], "urls": [], "use_cases": ["validate request DTOs in a NestJS API", "validate class properties with decorators in TypeScript", "validate nested objects and arrays before persisting", "reject invalid form input on the server", "add custom validation rules to class fields", "validate plain objects against a class schema"], "what_it_is": "A TypeScript library providing decorator-based and non-decorator-based property validation for classes, built on validator.js. It supports nested objects, arrays, conditional validation, validation groups, and custom validators, and works in both browser and Node.js environments.", "when_to_avoid": ["you prefer schema-based validation without decorators (e.g. Zod or Joi)", "your project is plain JavaScript without decorator support", "you only need lightweight runtime type checking"], "when_to_choose": ["you use TypeScript classes and want declarative, decorator-based validation", "you need rich built-in rules plus custom validators, groups, and nested object validation", "you want validation that works in both Node.js and the browser"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/class-validator", "repo": "typestack/class-validator", "role": "main", "score": 74}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:50.096710+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:15:17.631737+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "560b6d3b3fdfb34ffc42844cb06cfb91bd54a0e3ded35aeeb10a9f970672eabf", "fetched_at": "2026-08-28T04:10:50.096710+00:00", "kind": "readme", "missing": false, "url": "https://github.com/typestack/class-validator"}, {"content_hash": "a0e82c5b3aec16dbaac286c5a0d4979ede1de3174cc6fe769a1e7afacb51f3d4", "fetched_at": "2026-08-29T08:13:32.385653+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/class-validator"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 74, "longevity": 100, "rhythm": 60}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3987, "days_push": 161, "days_rel": 188, "gap_med": 46.5, "n_releases_24m": 5}, "score": 74, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}