{"_id":"@azzamdaaboul/country-iso-3-to-2","_rev":"1-33b60138d833e0892da7e4bbf16c1922","name":"@azzamdaaboul/country-iso-3-to-2","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@azzamdaaboul/country-iso-3-to-2","version":"1.0.0","description":"Convert a country code ISO 3166-1 Alpha-3 to ISO 3166-1 Alpha-2","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/AzzamDaaboul/country-iso-3-to-2.git"},"keywords":["country","code","country","iso","alpha-3","alpha","3","alpha-2","alpha","2","3166"],"author":{"name":"Azzam DAABOUL"},"license":"MIT","bugs":{"url":"https://github.com/AzzamDaaboul/country-iso-3-to-2/issues"},"homepage":"https://github.com/AzzamDaaboul/country-iso-3-to-2#readme","gitHead":"fdae67d02de37c8f8eb689a0e372302a389df9a6","_id":"@azzamdaaboul/country-iso-3-to-2@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-tRJvPPxVO6YIZO9EfYDqtV99RA+zliXrhKW/kr5sI3eG0HP/6O4ElvF49pxC6vRVs7+/SkNZQi8OwX5uko8iNw==","shasum":"bdf740338c5828fc5d36727d905bcd1e78998aec","tarball":"https://registry.npmjs.org/@azzamdaaboul/country-iso-3-to-2/-/country-iso-3-to-2-1.0.0.tgz","fileCount":5,"unpackedSize":5337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnhmuCRA9TVsSAnZWagAA8xsP/02ws+0G5/bh45T/XPek\nR2N5C6TP+VRwZTaL30z5P1/xLphBmXIDpnbWkY4P8Nwmc4dDpuVAFkUEpFIp\nZJP6zi1GFs5zhOeo+aMZVRz+D+BAPGYFuJTrCdAOXzFj13tm/OmySUzK7bIB\nni6U2zhmVg953DsDtbu1SbbkjTBzQOIKtL3YM1x3pc1yjziDuQONbpDhU0BF\nXbYx/a4zTlGcyghgRlD+SQd1JQgYsNY2v1Cc9pLIZ8KdkLB8uT9QZa9cbIdq\njO8erBXkghwrITI9CdL4KMmGiB2p0Ogm0zZLFDOv0tlqKC7H/W/D+s2r+VPw\nsCpMVvraILD1rJlNeNDyP2bpXzCqZEk8dOVKAgT3B6OH25BGYSZYnzLE+hgj\nNGDE3WgGiNjWit4EJfQr89dLmAhm0SBD9oqMcZpAw+DUJIeGf4aEE6Rr2yK/\nwMhJM1hfZLd73n8XdWJq6R6hlh7plUPhcbeJKOm8EjWJfh62rUZrj2Uc7JRf\nlRN2xlKsUlJgELgQmiwo585JyXz80TDuJl7rYBqFk+DweAeabYFCa5KujMbE\nUh+Ril6U8qBeUmUs7aoLRjllcjcoAcLOmZqIUQ5g90uZ7VCJHc6ba5ZtvEJS\nJPVKgxIWi4ZFUufFDeQB5a8yQ7YX7U2pX/XHtnM5zU6z9bXFZS3Izw2p4ha6\nWbgP\r\n=6zGH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNj9QoXGgqXvgR3SYWeVJycfbFRjiDjEdcIIh5HwwvEwIhAKzw3Utk0hEx7vwlMYYMj9D1vwALO93dPgzmTTYJ4hia"}]},"_npmUser":{"name":"azzamdaaboul","email":"azzamdaaboul@gmail.com"},"directories":{},"maintainers":[{"name":"azzamdaaboul","email":"azzamdaaboul@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/country-iso-3-to-2_1.0.0_1637751214224_0.5272230168619214"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-24T10:53:34.171Z","1.0.0":"2021-11-24T10:53:34.383Z","modified":"2022-04-04T17:23:15.071Z"},"maintainers":[{"name":"azzamdaaboul","email":"azzamdaaboul@gmail.com"}],"description":"Convert a country code ISO 3166-1 Alpha-3 to ISO 3166-1 Alpha-2","homepage":"https://github.com/AzzamDaaboul/country-iso-3-to-2#readme","keywords":["country","code","country","iso","alpha-3","alpha","3","alpha-2","alpha","2","3166"],"repository":{"type":"git","url":"git+https://github.com/AzzamDaaboul/country-iso-3-to-2.git"},"author":{"name":"Azzam DAABOUL"},"bugs":{"url":"https://github.com/AzzamDaaboul/country-iso-3-to-2/issues"},"license":"MIT","readme":"# country-iso-3-to-2\r\n\r\n> Convert a country code ISO 3166-1 Alpha-3 to ISO 3166-1 Alpha-2\r\n\r\n## Install\r\n\r\n```sh\r\n$ npm install country-iso-3-to-2\r\n```\r\n\r\n## Example of usage:\r\n\r\n```js\r\n\r\ngetCountryName(\"SYR\")\r\n//'SY'\r\n\r\ngetCountryName(\"BEL\")\r\n//'BE'\r\n\r\n```\r\n\r\n## API\r\n\r\n### getCountryName(countryCode)\r\n\r\n**Parameter**:\r\nA string with a country code in ISO 3166-1 Alpha-3\r\n\r\n**Return**:\r\nA string with the country code in ISO 3166-1 Alpha-2\r\n\r\n---\r\n\r\n## License\r\n\r\nMIT © [Azzam DAABOUL](https://azzamdaaboul.net/)\r\n","readmeFilename":"README.md"}