{"id":21822030,"url":"https://github.com/releasium/ngx-grand-validator","last_synced_at":"2026-05-18T04:08:09.424Z","repository":{"id":44919410,"uuid":"293286881","full_name":"releasium/ngx-grand-validator","owner":"releasium","description":"Powerful and easy-to-use Angular library that simplifies the process of implementing reactive form validation in your Angular applications.","archived":false,"fork":false,"pushed_at":"2023-08-02T23:38:46.000Z","size":4938,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T10:49:37.058Z","etag":null,"topics":["angular","decorator","decorators","error-handling","error-message","reactive","schema","validation","validator"],"latest_commit_sha":null,"homepage":"https://releasium.notion.site/releasium/f29bce8995574d57ac42ae4e42db27be?v=9f9f77c10589418ea4584d317b2292af","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/releasium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-06T13:52:48.000Z","updated_at":"2023-08-04T12:25:20.000Z","dependencies_parsed_at":"2024-09-02T09:41:04.649Z","dependency_job_id":null,"html_url":"https://github.com/releasium/ngx-grand-validator","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"7f19334789acaf04db833ac53bde6e07a182937e"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/releasium/ngx-grand-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/releasium%2Fngx-grand-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/releasium%2Fngx-grand-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/releasium%2Fngx-grand-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/releasium%2Fngx-grand-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/releasium","download_url":"https://codeload.github.com/releasium/ngx-grand-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/releasium%2Fngx-grand-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010803,"owners_count":26084807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","decorator","decorators","error-handling","error-message","reactive","schema","validation","validator"],"created_at":"2024-11-27T17:12:28.642Z","updated_at":"2025-10-12T08:16:44.378Z","avatar_url":"https://github.com/releasium.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @releasium/ngx-grand-validator\n\n**@releasium/ngx-grand-validator** is a powerful and easy-to-use Angular library that simplifies the process of\nimplementing reactive form validation in your Angular applications. With **@releasium/ngx-grand-validator**, \ndevelopers can create models, and effortlessly add decorators to the model's\nfields for validation purposes. Say goodbye to writing extensive form validation logic by hand \n– let **ngx-grand-validator** handle it for you!\n\n\u003ca href=\"https://releasium.notion.site/releasium/f29bce8995574d57ac42ae4e42db27be?v=9f9f77c10589418ea4584d317b2292af\"\u003eRead documentation\u003c/a\u003e\n\n\n![ngx-grand-validator](https://user-images.githubusercontent.com/3638763/254584144-159a0bac-3824-429b-8ad7-c26f894fc657.png)\n\n### Version\n\n| @releasium/ngx-grand-validator | Angular |\n|--------------------------------|---------|\n| v0.14.0                         | v14     |\n| v0.15.0                         | v15     |\n| v1.16.0 LTS                     | v16     |\n| Q4 2023                        | v17     |\n\n\n### Features:\n\n- **Simple Integration:** Easily integrate **@releasium/ngx-grand-validator** into your Angular projects and get started with reactive form validation in no time.\n- **Model-Based Validation:** Define your data models using TypeScript classes and decorate the fields with validation decorators to describe the validation rules.\n- **Schema validation.** In case of complex form just create schema and work with reactive Forms\n- **FormGroup Generation:** Utilize the defined models to automatically generate Angular `FormGroup` instances with all the specified validation rules applied.\n- **Declaration** working with `FormGroup`, `FormArray`, `FormControl` as well\n- **Built-in Validators**: Choose from a variety of built-in validation decorators, such as `@GV.required()`, `@GV.minLength()`, `@GV.maxLength()`, `@GV.pattern()`, and more.\n- **Custom Validation**: Implement custom validation rules by creating your own validation decorators.\n- **Error Messaging**: Receive detailed error messages based on the defined validation rules to provide precise feedback to users.\n- **Consistency and Maintainability**: Centralize your validation logic within the models, making it easier to maintain and refactor in the future.\n\n\n### How to start?\nInstall NgxGrandValidator using NPM:\n\n``npm i @releasium/ngx-grand-validator --save``\n\n### Example of using\n\n```\n// Your Model\nexport class UserModel extends GVModel {\n  @GV.maxLength(120)\n  @GV.minLength(5)\n  @GV.required()\n  firstName: string;\n\n  @GV.maxLength(120)\n  @GV.lastName(5)\n  @GV.required()\n  lastName: string;\n\n  @GV.required()\n  @GV.email()\n  email: number;\n}\n\n```\n\n```\n //Your Component\n this.form = UserModel.createForm();\n form.validate();\n```\n\n```\n //Yout Template\n  \u003cform\n    GV [gvModel]=\"UserModel\"\n    [formGroup]=\"form\"\u003e\n  \u003cdiv\u003e\n    \u003cinput type=\"text\" formControlName=\"firstName\"\u003e\n    \u003cgv-error-message name=\"firstName\"\u003e\u003c/gv-error-message\u003e\n  \u003c/div\u003e\n  \u003cdiv\u003e\n    \u003cinput type=\"text\" formControlName=\"lastName\"\u003e\n    \u003cgv-error-message name=\"lastName\"\u003e\u003c/gv-error-message\u003e\n  \u003c/div\u003e\n  ....\n```\n\n### Contributing:\n\nWe welcome contributions from the open-source community. If you have found a bug or have a feature request, please submit an issue or a pull request on our GitHub repository.\n\n### License:\n\nThis library is distributed under the MIT License. Feel free to use it in your commercial and non-commercial projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freleasium%2Fngx-grand-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freleasium%2Fngx-grand-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freleasium%2Fngx-grand-validator/lists"}