{"id":19661694,"url":"https://github.com/hkk97/hkid_validator","last_synced_at":"2026-05-15T10:06:47.285Z","repository":{"id":58849358,"uuid":"530301365","full_name":"hkk97/hkid_validator","owner":"hkk97","description":"HKID Validator Library, support HKID Validation and generated eight or nine digits validated HKID.","archived":false,"fork":false,"pushed_at":"2022-12-29T12:55:08.000Z","size":22286,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T01:48:30.640Z","etag":null,"topics":["dart","flutter","flutter-web-app","hkid-generat","hkid-generator","hkid-validator","hkid-ver","hkid-verif","progressive-web-app","pwa","single-","spa"],"latest_commit_sha":null,"homepage":"https://hkk97.github.io/hkid_validator/","language":"Dart","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/hkk97.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-08-29T16:26:33.000Z","updated_at":"2024-08-20T02:17:17.000Z","dependencies_parsed_at":"2023-01-31T09:00:46.295Z","dependency_job_id":null,"html_url":"https://github.com/hkk97/hkid_validator","commit_stats":null,"previous_names":["wchklaus/hkid_validator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkk97%2Fhkid_validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkk97%2Fhkid_validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkk97%2Fhkid_validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkk97%2Fhkid_validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hkk97","download_url":"https://codeload.github.com/hkk97/hkid_validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240970215,"owners_count":19886526,"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","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":["dart","flutter","flutter-web-app","hkid-generat","hkid-generator","hkid-validator","hkid-ver","hkid-verif","progressive-web-app","pwa","single-","spa"],"created_at":"2024-11-11T16:08:16.289Z","updated_at":"2025-11-22T10:01:31.591Z","avatar_url":"https://github.com/hkk97.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HKID Validator Library\n[![DockerCICD](https://github.com/hkk97/hkid_validator/actions/workflows/docker-cicd.yml/badge.svg)](https://github.com/hkk97/hkid_validator/actions/workflows/docker-cicd.yml)\n[![ForkCICD](https://github.com/hkk97/hkid_validator/actions/workflows/fork-cicd.yml/badge.svg)](https://github.com/hkk97/hkid_validator/actions/workflows/fork-cicd.yml)\n[![GitHubPageCICD](https://github.com/hkk97/hkid_validator/actions/workflows/github-page-cicd.yml/badge.svg)](https://github.com/hkk97/hkid_validator/actions/workflows/github-page-cicd.yml)\n[![GithubPacakgesCICD](https://github.com/hkk97/hkid_validator/actions/workflows/github-packages-cicd.yml/badge.svg)](https://github.com/hkk97/hkid_validator/actions/workflows/github-packages-cicd.yml)\n[![pages-build-deployment](https://github.com/hkk97/hkid_validator/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/hkk97/hkid_validator/actions/workflows/pages/pages-build-deployment)\n[![CodeFactor](https://www.codefactor.io/repository/github/hkk97/hkid_validator/badge)](https://www.codefactor.io/repository/github/hkk97/hkid_validator)\n\nHKID Validator Library, support HKID Validation and generated eight or nine digits validated HKID.\n\n\u003cp align=\"center\"\u003e\n     \u003ca href=\"https://github.com/flutter/flutter/tree/3.3\" alt=\"Flutter\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Flutter-v3.3.0 (stable)-4BC51D.svg?style=flat\" /\u003e\u003c/a\u003e\n     \u003ca alt=\"Dart\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Dart-v2.18.0 (stable)-4BC51D.svg?style=flat\" /\u003e\u003c/a\u003e\n     \u003ca alt=\"DevTools\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/DevTools-v2.15.0 (stable)-4BC51D.svg?style=flat\" /\u003e\u003c/a\u003e\n     \u003ca alt=\"VS Code\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/VS Code-v1.67.2-4BC51D.svg?style=flat\" /\u003e\u003c/a\u003e\n     \u003ca alt=\"VS Code\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Docker-v20.10.12-4BC51D.svg?style=flat\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n|             | Android | iOS  | Linux | macOS  | Web | Windows     |\n|-------------|---------|------|-------|--------|-----|-------------|\n| **Support** | Any | Any | Any   | Any | Any | Any         |\n\n## Usage\nTo use this plugin, add `hkid_validator` as a [dependency in your pubspec.yaml file].\n\n### Examples\nHere are small examples that show you how to use the HKIDValidator.\n\n#### Validate the HKID \n```dart\n// Obtain HKIDValidator.\nfinal hkidValidator = HKIDValidator();\n\n// Check is HKID Validate or not; HKID - U443902 wuth Specific Character 0\nbool isIdValid = HKIDValidator().isHKIDValid('U443902', '0');\n```\n\n####  Generate HKID \n```dart\n// Generate the Random Validate HKID with Eight or Nine digits\nString hkid = HKIDValidator().genRanValidHKID(isEight: true);\n\n// Generate the Validate HKID with eight number\nString hkid = HKIDValidator().genValidHKID(isEight: true);\n\n// Generate the Validate HKID with Nine number\nString hkid = HKIDValidator().genValidHKID(isEight: false);```\n```\n\n####  Add Parentheses at the last character\n```dart\nString hkid = hkid.withPARES();\n```\n\n# [HKID Validator Demo](https://github.com/hkk97/hkid_validator/tree/master/example/)\nThe UI of HKID Validator Web App, was inspired by [icelam](https://github.com/icelam/hkid-generator).\nA Flutter Web Demo for HKID Validator, this web demo is used to demonstrate the powerful of Flutter in Web Development and the usage of the packages called hkid_validator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkk97%2Fhkid_validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhkk97%2Fhkid_validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkk97%2Fhkid_validator/lists"}