{"id":15285511,"url":"https://github.com/naologic/angular-super-validator","last_synced_at":"2025-08-02T08:03:42.976Z","repository":{"id":57179190,"uuid":"108736906","full_name":"naologic/angular-super-validator","owner":"naologic","description":"A form validator library for deep validation and error extraction","archived":false,"fork":false,"pushed_at":"2018-04-30T23:29:07.000Z","size":218,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T02:51:02.934Z","etag":null,"topics":["angular","angular-cli","angular4","angular5","error-extraction","forms","validator"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naologic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-29T13:31:37.000Z","updated_at":"2019-02-12T18:14:15.000Z","dependencies_parsed_at":"2022-09-09T17:30:49.530Z","dependency_job_id":null,"html_url":"https://github.com/naologic/angular-super-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naologic/angular-super-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fangular-super-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fangular-super-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fangular-super-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fangular-super-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naologic","download_url":"https://codeload.github.com/naologic/angular-super-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naologic%2Fangular-super-validator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266437369,"owners_count":23928235,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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","angular-cli","angular4","angular5","error-extraction","forms","validator"],"created_at":"2024-09-30T15:05:42.096Z","updated_at":"2025-07-22T06:04:28.705Z","avatar_url":"https://github.com/naologic.png","language":"TypeScript","readme":"# angular-super-validator\n[![npm version](https://badge.fury.io/js/angular-super-validator.svg)](https://badge.fury.io/js/angular-super-validator)\n![npm](https://img.shields.io/npm/v/angular-super-validator.svg)\n![npm](https://img.shields.io/npm/v/angular-super-validator/next.svg)\n![npm](https://img.shields.io/npm/l/angular-super-validator.svg)\n![npm](https://img.shields.io/npm/dm/angular-super-validator.svg)\n\n\nA form validator library for deep validation and error extraction from Angular Forms\n\n## Install\n\n```sh\n$ npm install --save angular-super-validator\n```\n\n## Import\n```typescript\nimport { SuperForm } from \"angular-super-validator\";\n```\n\n## Use in FormGroup\n\n```typescript\nconst fg = new FormGroup({\n     id: new FormControl(0, [Validators.required]),\n     name: new FormControl('', [Validators.required]),\n     description: new FormControl('', [Validators.required, Validators.maxLength(200)]),\n     isSkipped: new FormControl(false),\n});\n\nif (!fg.valid) {\n    const errors = SuperForm.getAllErrors(fg);\n    const errorsFlat = SuperForm.getAllErrorsFlat(fg);\n\n    console.log(errors);\n}\n\n```\n\n\nMade with :heart: in :uk:","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaologic%2Fangular-super-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaologic%2Fangular-super-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaologic%2Fangular-super-validator/lists"}