{"_id":"localized-countries","_rev":"9-10648d6aca7f30eb7c8b99cf6cf5b6f2","name":"localized-countries","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"localized-countries","version":"1.0.0","keywords":["countries","country","i18n","localize","code","lookup"],"author":{"name":"Marc Bachmann","email":"marc.brookman@gmail.com"},"license":"ISC","_id":"localized-countries@1.0.0","maintainers":[{"name":"marcbachmann","email":"marc.brookman@gmail.com"}],"homepage":"https://github.com/marcbachmann/localized-countries#readme","bugs":{"url":"https://github.com/marcbachmann/localized-countries/issues"},"bin":{"localized-countries":"build-language-file.js"},"dist":{"shasum":"1e24a85a768fea5277ce8164558ab8e17adf636b","tarball":"https://registry.npmjs.org/localized-countries/-/localized-countries-1.0.0.tgz","integrity":"sha512-MfEyoArkhkxAtaF2B3a+NglJU6JtgZlW3JfyILfoYYu4VxYJxz5afMuOqcJaVaA9QsLxH10Z2Jc1/kiud4UWHw==","signatures":[{"sig":"MEYCIQDJtRYBv6i3QzBlfhtbSrcBgv9Wd7Q8f9VzShU7ZBLA/QIhAPd+EP8AYXESOnmmCDwIWBMzTAiwLSP0t2KkR0urRHu1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"node.js","_from":".","_shasum":"1e24a85a768fea5277ce8164558ab8e17adf636b","browser":"browser.js","gitHead":"fb0a81e4e4a608ede7d675af7799e51ba4d6fae7","scripts":{"test":"standard && node test.js","build":"./bin/build.sh"},"_npmUser":{"name":"marcbachmann","email":"marc.brookman@gmail.com"},"repository":{"url":"git+https://github.com/marcbachmann/localized-countries.git","type":"git"},"_npmVersion":"3.8.6","description":"Country code to name mappings for several languages","directories":{},"_nodeVersion":"4.2.3","devDependencies":{"standard":"^7.1.2"},"_npmOperationalInternal":{"tmp":"tmp/localized-countries-1.0.0.tgz_1466952455492_0.1470090898219496","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"localized-countries","version":"1.0.1","keywords":["countries","country","i18n","localize","code","lookup"],"author":{"name":"Marc Bachmann","email":"marc.brookman@gmail.com"},"license":"ISC","_id":"localized-countries@1.0.1","maintainers":[{"name":"marcbachmann","email":"marc.brookman@gmail.com"}],"homepage":"https://github.com/marcbachmann/localized-countries#readme","bugs":{"url":"https://github.com/marcbachmann/localized-countries/issues"},"bin":{"localized-countries":"build-language-file.js"},"dist":{"shasum":"2903b611227636107246687fb97bebbd175ca133","tarball":"https://registry.npmjs.org/localized-countries/-/localized-countries-1.0.1.tgz","integrity":"sha512-S5cH5bQZkQyHNz/j1++Y/KVxyMwfkeafDwYMKYntOc/yWRTaYCWrPpdla+ehW7Pi+BayxBRaVAZGvl5QzT78Ug==","signatures":[{"sig":"MEUCICBC24xpVnqVoDMYKd/hDVYpjPflsvzdqWVKtCltgIrCAiEAogUMAxk3hqahA5KnwBxlBUmWqSPP+bEobx/wpyUQtFo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"node.js","_from":".","_shasum":"2903b611227636107246687fb97bebbd175ca133","browser":"browser.js","gitHead":"e98b47c675892824809ec72a377dc0b6e6e5031d","scripts":{"test":"standard && node test.js","generate":"./bin/build.sh"},"_npmUser":{"name":"marcbachmann","email":"marc.brookman@gmail.com"},"repository":{"url":"git+https://github.com/marcbachmann/localized-countries.git","type":"git"},"_npmVersion":"3.8.6","description":"Country code to name mappings for several languages","directories":{},"_nodeVersion":"4.2.3","devDependencies":{"standard":"^7.1.2"},"_npmOperationalInternal":{"tmp":"tmp/localized-countries-1.0.1.tgz_1466952922061_0.29157643392682076","host":"packages-12-west.internal.npmjs.com"}},"1.0.2":{"name":"localized-countries","version":"1.0.2","keywords":["countries","country","i18n","localize","code","lookup"],"author":{"name":"Marc Bachmann","email":"marc.brookman@gmail.com"},"license":"ISC","_id":"localized-countries@1.0.2","maintainers":[{"name":"marcbachmann","email":"marc.brookman@gmail.com"}],"homepage":"https://github.com/marcbachmann/localized-countries#readme","bugs":{"url":"https://github.com/marcbachmann/localized-countries/issues"},"dist":{"shasum":"df8de23b2adb195266d849e706686a84b826c7df","tarball":"https://registry.npmjs.org/localized-countries/-/localized-countries-1.0.2.tgz","integrity":"sha512-jjySluRttlfBwAsd6pu1onxnBMI3LvxOh9sdVSNNcUd65LlIg3r+wU9NUpC4Cc7hDerJk4zZYcKaCcG67n+2CQ==","signatures":[{"sig":"MEUCIEDn9yZ9RGQcUjMGFb+56re8Vj2VUBDnkZYAx74A4HeQAiEAjYz4053CLOyEQC+aTMy3zAJ4OB4wpNqrOtA4gqmfJpY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"node.js","_from":".","_shasum":"df8de23b2adb195266d849e706686a84b826c7df","browser":"browser.js","gitHead":"aa4f30f3ddcb4c82d105acd0c15db7dd831df810","scripts":{"test":"standard && node test.js","generate":"./bin/build.sh"},"_npmUser":{"name":"marcbachmann","email":"marc.brookman@gmail.com"},"repository":{"url":"git+https://github.com/marcbachmann/localized-countries.git","type":"git"},"_npmVersion":"3.8.6","description":"Country code to name mappings for several languages","directories":{},"_nodeVersion":"4.2.3","devDependencies":{"standard":"^7.1.2"},"_npmOperationalInternal":{"tmp":"tmp/localized-countries-1.0.2.tgz_1466953118419_0.42852545878849924","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"localized-countries","version":"2.0.0","keywords":["countries","country","i18n","localize","code","lookup"],"author":{"name":"Marc Bachmann","email":"marc.brookman@gmail.com"},"license":"ISC","_id":"localized-countries@2.0.0","maintainers":[{"name":"marcbachmann","email":"marc.brookman@gmail.com"}],"homepage":"https://github.com/marcbachmann/localized-countries#readme","bugs":{"url":"https://github.com/marcbachmann/localized-countries/issues"},"ci":{"date":"2020-12-31T13:05:37.391Z","isCi":true,"isPr":false,"name":"Drone","slug":"marcbachmann/localized-countries","build":"4","branch":"master","commit":"8608629c59d16f8538d4269e5dec2ed67b25e043","service":"drone"},"dist":{"shasum":"bd7a25622969afb9d03291ef09f7902efdde01fc","tarball":"https://registry.npmjs.org/localized-countries/-/localized-countries-2.0.0.tgz","fileCount":638,"integrity":"sha512-17CwJ/oetI5cB6KmPa+Cxw/8vunawUouVv5MFxYqsVzryXeR5u/MF32m3SBaHxP4EqYPOePV+3jx7xxYZnAJpQ==","signatures":[{"sig":"MEQCIDR76hh2nG50thCz0mhBtQD71tS0fCHaPq8a2bflNWe5AiBEKhCw4n+rbkOmDu4Xq69VuE7kmSHsBkUTU6xxCbJnlg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4889885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7cynCRA9TVsSAnZWagAA8uwP/RI5EjpPy16zBhEbGYO4\nElyclbcg8DdjhDyf1PjzmPxutOmmNDl6s4J1vY5R6thl7+sfTyv4ElzqtdfQ\nEKfkwH2WfnczoDKWoDVt0IoRYfzyKcTGD3wdcAY6nFDr2CpQfzYt+6k1BZaE\nAun0GVK0yPV1G69VQZ/LhhPqI8hZ0j0d7i7+fxNmaZXdDCg7+QaFWx2YcsPo\n3uaUCD/PAaWaKQw6OVpBiLm1PBKyLfrYeSM8/Q9X235n7LF4iaQS4dYWmJH7\n2XAQLNWaC5UUdAC6qhLf+yIeN7tj3mz87/enLwfhiksRbW8pEU9NPBlMVPL8\nEMdyQol/k+4J2fUZs1xS2+SzqDH6Qp6AbqJRlE0jjaCtjRAX5VwVOuVsF+6K\nbA8Z7W0yGlsU3HkTmcA2pCmA2zdQliF3gj214fq179VyrTKQvkDkzuiq0eqm\nN4Z19J/yo0EoRW00o4PMwQjVco7XhQd7337k2AOZs5OgvIdg9gMxpNrAQ+Mt\n7WkVPBWxTev7FJ/KH21MVofIVqGsOpyOD4s4TjW5id1Xhq1SBU+aFoOmvmXx\n1yy0ZOCbd4GDqYswBpIZ3h0faD1U+NG32hMmPZ+DONZwaMfZj86QvjXkTfl0\ntDYt++j/JnpyyEtO6B1VvtMif+6bSe8yqA3PCtTaYOuOFsZlXjRdPBHCMuxz\nJIir\r\n=3cGH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"node.js","browser":"browser.js","gitHead":"8608629c59d16f8538d4269e5dec2ed67b25e043","release":{"extends":"@livingdocs/semantic-release-presets/npm-github-verify"},"scripts":{"test":"node test.js && eslint .","test:ci":"node test.js","generate":"./bin/build.sh","postversion":"/release/node_modules/.bin/set-ci"},"_npmUser":{"name":"marcbachmann","email":"marc.brookman@gmail.com"},"repository":{"url":"git+https://github.com/marcbachmann/localized-countries.git","type":"git"},"_npmVersion":"6.12.1","description":"Country code to name mappings for several languages","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/localized-countries_2.0.0_1609419943015_0.5609097459844246","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"localized-countries","version":"3.0.0","description":"Country code to name mappings for several languages","main":"node.js","browser":"browser.js","scripts":{"generate":"node ./bin/build.js","test":"node test.js && eslint .","test:ci":"node test.js","postversion":"/release/node_modules/.bin/set-ci"},"author":{"name":"Marc Bachmann","email":"marc.brookman@gmail.com"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/marcbachmann/localized-countries.git"},"keywords":["countries","country","i18n","localize","code","lookup"],"bugs":{"url":"https://github.com/marcbachmann/localized-countries/issues"},"homepage":"https://github.com/marcbachmann/localized-countries#readme","devDependencies":{"eslint":"^9.39.2","eslint-config-prettier":"^10.1.8","globals":"^17.0.0"},"release":{"extends":"@livingdocs/semantic-release-presets/npm-github-verify"},"ci":{"isCi":true,"name":"Drone","service":"drone","commit":"6df63f7c0dcbafab82d2c36985b8a35f08fb658d","build":"138","branch":"master","isPr":false,"slug":"marcbachmann/localized-countries","date":"2026-01-09T11:14:51.930Z"},"gitHead":"6df63f7c0dcbafab82d2c36985b8a35f08fb658d","_id":"localized-countries@3.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-npbnlYwz7yRQrpr9k5c/RoZDwZjPiNW9Ub003efPY1U+rDmdN96xoYQr6Awo4bHj1PSSfRPItD2hIb9v+tctPw==","shasum":"0c9a9f53b8ea42c3b16963f6200efa101b476ae8","tarball":"https://registry.npmjs.org/localized-countries/-/localized-countries-3.0.0.tgz","fileCount":616,"unpackedSize":3653496,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCuq8B2RnChk4OXtpHbg7lr1yropfC1XaL5+LRyzuuKoQIhAKSSYwP9UtKgRbsHtMwmQj2O+79jRV5A/tu57pvnRkLM"}]},"_npmUser":{"name":"marcbachmann","email":"marc.brookman@gmail.com"},"directories":{},"maintainers":[{"name":"marcbachmann","email":"marc.brookman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/localized-countries_3.0.0_1767957293644_0.590575493306511"},"_hasShrinkwrap":false}},"time":{"created":"2016-06-26T14:47:38.403Z","modified":"2026-01-09T11:14:54.013Z","1.0.0":"2016-06-26T14:47:38.403Z","1.0.1":"2016-06-26T14:55:24.835Z","1.0.2":"2016-06-26T14:58:41.369Z","2.0.0":"2020-12-31T13:05:43.201Z","3.0.0":"2026-01-09T11:14:53.812Z"},"bugs":{"url":"https://github.com/marcbachmann/localized-countries/issues"},"author":{"name":"Marc Bachmann","email":"marc.brookman@gmail.com"},"license":"ISC","homepage":"https://github.com/marcbachmann/localized-countries#readme","keywords":["countries","country","i18n","localize","code","lookup"],"repository":{"type":"git","url":"git+https://github.com/marcbachmann/localized-countries.git"},"description":"Country code to name mappings for several languages","maintainers":[{"name":"marcbachmann","email":"marc.brookman@gmail.com"}],"readme":"# localized-countries\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmarcbachmann%2Flocalized-countries.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmarcbachmann%2Flocalized-countries?ref=badge_shield)\n\n\n\n#### Get a language by code\n\n```js\nvar german = require('localized-countries')('de')\ngerman.get('CH') // returns 'Schweiz'\n\nvar english = require('localized-countries')('en')\nenglish.get('CH') // returns 'Switzerland'\n\nvar japanese = require('localized-countries')('ja')\njapanese.get('CH') // returns '\\u30b9\\u30a4\\u30b9'\n```\n\n#### Get a countries array\n\n```js\nvar english = require('localized-countries')('en')\nenglish.array()\n// returns all countries as array [{code: \"US\", label: \"United States\"}, ....]\n```\n\n\n#### Get a countries map\n\n```js\nvar english = require('localized-countries')('en')\nenglish.object()\n// returns all countries as object {\"US\": \"United States\", \"CH\": \"Switzerland\"}\n```\n\n\n#### In the browser\n\nYou probably don't want to load all languages. So I suggest you to load specific files.\n\n```js\nvar englishCountries = require('localized-countries')(require('localized-countries/data/en.json'))\nenglishCountries.get('US') // returns 'United States'\n```\n\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmarcbachmann%2Flocalized-countries.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmarcbachmann%2Flocalized-countries?ref=badge_large)\n","readmeFilename":"README.md"}