{"_id":"@blockchainhub/countries-divisions","name":"@blockchainhub/countries-divisions","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@blockchainhub/countries-divisions","version":"1.0.1","homepage":"https://github.com/bchainhub/countries-divisions","description":"A comprehensive JSON module containing primary administrative divisions for countries based on the ISO 3166-1 Alpha-2 standard.","main":"index.js","repository":{"type":"git","url":"git+ssh://git@github.com/bchainhub/countries-divisions.git"},"author":{"name":"Blockchain Hub"},"license":"CORE","keywords":["countries","divisions","iso3166-1","alpha-2","regions","states","provinces","territories","districts","counties","prefectures","departments","municipalities","communes","parishes","cantons","townships","boroughs"],"bugs":{"url":"https://github.com/bchainhub/countries-divisions/issues"},"_id":"@blockchainhub/countries-divisions@1.0.1","gitHead":"c94be8ae9243e86e61777b86c557c802b6216575","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-8LxvxkXnr+0zZFfbiQa8wAf1egMWorPwbLXWOCmOyXyfpczWtUqBfo3QVsTvtg6Hxc6uh7OIYJUeW2ACTO9Byw==","shasum":"1f9d850e345585cbd9467b67908dd87d9c04d853","tarball":"https://registry.npmjs.org/@blockchainhub/countries-divisions/-/countries-divisions-1.0.1.tgz","fileCount":4,"unpackedSize":17853,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6PnTxwXWoFaC1KlCojM9LwXn2zO/oi6v6x3TsFyZmnAiBUvrHE6wlu0Io6GW/BSQ1QJpuIY9H7GX9mXi+LTLR4Gw=="}]},"_npmUser":{"name":"coreorg","email":"rastislav@wallit.eu"},"directories":{},"maintainers":[{"name":"coreorg","email":"rastislav@wallit.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/countries-divisions_1.0.1_1698089886269_0.9612263571382711"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-23T19:38:06.189Z","1.0.1":"2023-10-23T19:38:06.460Z","modified":"2023-10-23T19:38:06.849Z"},"maintainers":[{"name":"coreorg","email":"rastislav@wallit.eu"}],"description":"A comprehensive JSON module containing primary administrative divisions for countries based on the ISO 3166-1 Alpha-2 standard.","homepage":"https://github.com/bchainhub/countries-divisions","keywords":["countries","divisions","iso3166-1","alpha-2","regions","states","provinces","territories","districts","counties","prefectures","departments","municipalities","communes","parishes","cantons","townships","boroughs"],"repository":{"type":"git","url":"git+ssh://git@github.com/bchainhub/countries-divisions.git"},"author":{"name":"Blockchain Hub"},"bugs":{"url":"https://github.com/bchainhub/countries-divisions/issues"},"license":"CORE","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","readmeFilename":"README.md"}