{"id":22862439,"url":"https://github.com/tomi77/ngx-pl-validators","last_synced_at":"2026-02-12T00:35:50.146Z","repository":{"id":48717429,"uuid":"169585602","full_name":"tomi77/ngx-pl-validators","owner":"tomi77","description":"PESEL, NIP and REGON validators for Angular","archived":false,"fork":false,"pushed_at":"2021-07-13T12:09:42.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-04T17:55:58.416Z","etag":null,"topics":["angular-validators","nip-validation","pesel-validation","regon-validation"],"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/tomi77.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":"2019-02-07T14:34:44.000Z","updated_at":"2021-07-13T12:09:45.000Z","dependencies_parsed_at":"2022-09-16T19:12:21.134Z","dependency_job_id":null,"html_url":"https://github.com/tomi77/ngx-pl-validators","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tomi77/ngx-pl-validators","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomi77%2Fngx-pl-validators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomi77%2Fngx-pl-validators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomi77%2Fngx-pl-validators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomi77%2Fngx-pl-validators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomi77","download_url":"https://codeload.github.com/tomi77/ngx-pl-validators/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomi77%2Fngx-pl-validators/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29351055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T20:11:40.865Z","status":"ssl_error","status_checked_at":"2026-02-11T20:10:41.637Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-validators","nip-validation","pesel-validation","regon-validation"],"created_at":"2024-12-13T10:13:33.416Z","updated_at":"2026-02-12T00:35:50.130Z","avatar_url":"https://github.com/tomi77.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-pl-validators\n\n[![Build Status](https://travis-ci.org/tomi77/ngx-pl-validators.svg?branch=master)](https://travis-ci.org/tomi77/ngx-pl-validators)\n[![dependencies Status](https://david-dm.org/tomi77/ngx-pl-validators/status.svg)](https://david-dm.org/tomi77/ngx-pl-validators)\n[![devDependencies Status](https://david-dm.org/tomi77/ngx-pl-validators/dev-status.svg)](https://david-dm.org/tomi77/ngx-pl-validators?type=dev)\n[![peerDependencies Status](https://david-dm.org/tomi77/ngx-pl-validators/peer-status.svg)](https://david-dm.org/tomi77/ngx-pl-validators?type=peer)\n\nPESEL, NIP and REGON validators for Angular\n\n## Installation\n\n~~~sh\nnpm install ngx-pl-validators\n~~~\n\n## Usage (model driven)\n\nNeeds ``ReactiveFormsModule``\n\n### PESEL\n\n~~~typescript\nimport { PLValidators } from 'ngx-pl-validators';\n\npassword: FormControl = new FormControl('', Validators.compose([\n  PLValidators.peselValidator\n]));\n~~~\n\n### NIP\n\n~~~typescript\nimport { PLValidators } from 'ngx-pl-validators';\n\npassword: FormControl = new FormControl('', Validators.compose([\n  PLValidators.nipValidator\n]));\n~~~\n\n## Usage (template driven)\n\nNeeds ``FormsModule`` and ``ValidatorsModule``\n\n### PESEL\n\n~~~html\n\u003cform\u003e\n  \u003cinput type=\"text\" [(ngModel)]=\"model.pesel\" name=\"pesel\" #formControl=\"ngModel\" pesel /\u003e\u003e\n  \u003cspan *ngIf=\"formControl.hasError('pesel')\"\u003eInvalid PESEL\u003c/span\u003e\n\u003c/form\u003e\n~~~\n\n### NIP\n\n~~~html\n\u003cform\u003e\n  \u003cinput type=\"text\" [(ngModel)]=\"model.nip\" name=\"nip\" #formControl=\"ngModel\" nip /\u003e\u003e\n  \u003cspan *ngIf=\"formControl.hasError('nip')\"\u003eInvalid NIP\u003c/span\u003e\n\u003c/form\u003e\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomi77%2Fngx-pl-validators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomi77%2Fngx-pl-validators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomi77%2Fngx-pl-validators/lists"}