{"id":20308884,"url":"https://github.com/bchainhub/countries-divisions","last_synced_at":"2025-07-19T16:33:23.985Z","repository":{"id":196157623,"uuid":"694777088","full_name":"bchainhub/countries-divisions","owner":"bchainhub","description":"A comprehensive JSON module containing primary administrative divisions for countries based on the ISO 3166-1 Alpha-2 standard.","archived":false,"fork":false,"pushed_at":"2023-10-23T19:37:47.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-14T12:27:29.170Z","etag":null,"topics":["alpha-2","alpha-2-country-code","countries","divisions","iso3166-1","regions","states"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bchainhub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"custom":["https://blockindex.net/address/cb7147879011ea207df5b35a24ca6f0859dcfb145999"]}},"created_at":"2023-09-21T17:08:17.000Z","updated_at":"2023-09-24T11:26:02.000Z","dependencies_parsed_at":"2023-09-21T22:51:01.357Z","dependency_job_id":null,"html_url":"https://github.com/bchainhub/countries-divisions","commit_stats":null,"previous_names":["cryptohub-digital/countries-divisions","bchainhub/countries-divisions"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bchainhub/countries-divisions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchainhub%2Fcountries-divisions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchainhub%2Fcountries-divisions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchainhub%2Fcountries-divisions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchainhub%2Fcountries-divisions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bchainhub","download_url":"https://codeload.github.com/bchainhub/countries-divisions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bchainhub%2Fcountries-divisions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265965916,"owners_count":23857054,"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":["alpha-2","alpha-2-country-code","countries","divisions","iso3166-1","regions","states"],"created_at":"2024-11-14T17:24:24.826Z","updated_at":"2025-07-19T16:33:23.959Z","avatar_url":"https://github.com/bchainhub.png","language":"JavaScript","funding_links":["https://blockindex.net/address/cb7147879011ea207df5b35a24ca6f0859dcfb145999"],"categories":[],"sub_categories":[],"readme":"# Countries Divisions\n\nA comprehensive JSON module containing primary administrative divisions for countries based on the ISO 3166-1 Alpha-2 standard.\n\n## Installation\n\nTo use this module in your project, you can install it via npm:\n\n```bash\nnpm install @blockchainhub/countries-divisions\n```\n\n## Usage\n\nOnce installed, you can `require` it in your JavaScript/Node.js project:\n\n```javascript\nconst countriesDivisions = require('@blockchainhub/countries-divisions');\nconsole.log(countriesDivisions['US']); // Example output: { type_en: \"State\", type_local: \"State\" }\n```\n\n## Data Structure\n\nThe module exports a JSON object with the structure:\n\n```json\n{\n    \"ISO_3166-1_Alpha-2_Code\": {\n        \"type_en\": \"Division Name in English\",\n        \"type_local\": \"Division Name in Local Language\"\n    },\n    …\n}\n```\n\nFor example:\n\n```json\n{\n    \"US\": {\n        \"type_en\": \"State\",\n        \"type_local\": \"State\"\n    },\n    …\n}\n```\n\n## Exclusions\n\nThe following countries are excluded from the list due to lack of divisions:\n\n- GI (Gibraltar)\n- MF (Saint Martin (French part))\n- NF (Norfolk Island)\n- PM (Saint Pierre and Miquelon)\n- VA (Holy See (Vatican City State))\n\n## License\n\nThis project is licensed under the [CORE License](https://github.com/bchainhub/core-license/blob/master/LICENSE). Please see the [LICENSE](https://github.com/bchainhub/core-license/blob/master/LICENSE) file for more details.\n\n## Contributing\n\n1. Fork the repository.\n2. Clone your fork.\n3. Create a new branch.\n4. Make your changes.\n5. Commit and push your changes.\n6. Create a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbchainhub%2Fcountries-divisions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbchainhub%2Fcountries-divisions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbchainhub%2Fcountries-divisions/lists"}