{"id":16466844,"url":"https://github.com/matriphe/nopol","last_synced_at":"2026-06-09T06:32:31.374Z","repository":{"id":144212553,"uuid":"124626107","full_name":"matriphe/nopol","owner":"matriphe","description":"Go package to check and format Indonesian vehicle registration number (police number)","archived":false,"fork":false,"pushed_at":"2018-05-13T10:43:44.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T02:23:24.216Z","etag":null,"topics":["formatter","go","golang","hacktoberfest","indonesia","plate-number","vehicle-registration"],"latest_commit_sha":null,"homepage":"","language":"Go","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/matriphe.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-10T05:41:39.000Z","updated_at":"2022-10-01T16:12:17.000Z","dependencies_parsed_at":"2023-04-19T20:18:26.647Z","dependency_job_id":null,"html_url":"https://github.com/matriphe/nopol","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/matriphe/nopol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fnopol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fnopol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fnopol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fnopol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matriphe","download_url":"https://codeload.github.com/matriphe/nopol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matriphe%2Fnopol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34095244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["formatter","go","golang","hacktoberfest","indonesia","plate-number","vehicle-registration"],"created_at":"2024-10-11T11:44:55.597Z","updated_at":"2026-06-09T06:32:31.355Z","avatar_url":"https://github.com/matriphe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nopol\n\n[![Build Status](https://travis-ci.org/matriphe/nopol.svg?branch=master)](https://travis-ci.org/matriphe/nopol)\n\n**Nopol** is Go package to check and format Indonesian vehicle registration number (police number).\n\nIt will format vehicle registration number format like this `{XX} {DDDD} {YYY}`, for example `AD 6742 DZ`, `CD 129` or `RI 1`.\n\nFor more info about Indonesian vehicle registration number, please refer to the [Wikipedia](https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Indonesia).\n\n## Installation\n\n```shell\ngo get -u github.com/matriphe/nopol\n```\n\n## Usage\n\n```go\n// Check validation\nval := nopol.IsValid(\"AB 1234 XYZ\") // return true\nval := nopol.IsValid(\"ABC 12345\") // return false\n\n// Format\nf, err := nopol.Format(\"AB1234-XYZ\") // return AB 1234 XYZ, nil\nf, err := nopol.Format(\"ABC12345\") // return \"\", Not a valid police number\n```\n\nFor more info, refer to [this documentation](https://godoc.org/github.com/matriphe/nopol).\n\n## To Do\n\n* Get information from the vehicle registration number\n* Check validity of the vehicle registration number\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatriphe%2Fnopol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatriphe%2Fnopol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatriphe%2Fnopol/lists"}