{"_id":"@amerfarooq/iso-country-currency","_rev":"1-8d059bebef428ca569bfe1585cd3f6b3","name":"@amerfarooq/iso-country-currency","dist-tags":{"latest":"0.6.2"},"versions":{"0.6.1":{"name":"@amerfarooq/iso-country-currency","version":"0.6.1","description":"Get country name, currency and currency symbol via ISO2 country abbreviation","repository":{"type":"git","url":"git+https://github.com/AlexDid/iso-country-currency.git"},"main":"index.js","types":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["country","currency","iso2"],"author":{"name":"Oleksii Didenko did.aleksej@gmail.com"},"license":"ISC","gitHead":"145509dca9551cab5db4164368514e67245b0ab8","bugs":{"url":"https://github.com/AlexDid/iso-country-currency/issues"},"homepage":"https://github.com/AlexDid/iso-country-currency#readme","_id":"@amerfarooq/iso-country-currency@0.6.1","_nodeVersion":"16.13.2","_npmVersion":"8.5.1","dist":{"integrity":"sha512-wvXjGMmLwiv4gLsnKi/lLerNkJBC1yypJHw4yTrzo0Ypr4JrMZgSNWd/sCFmmjw1QiNUGVeHGuc7oc7GvAKLkQ==","shasum":"2dc880c790817971ca4cf4333396c1f92047ad93","tarball":"https://registry.npmjs.org/@amerfarooq/iso-country-currency/-/iso-country-currency-0.6.1.tgz","fileCount":11,"unpackedSize":27148,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+/DErr5CxCyApdo+aB3C+HXuQFVdhFT6QjwJy2pxtrAiEAhiayI5BUx4PR00xlRMIWWSQ5f6QFWgR/LC0f5Rs1aWE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF4/hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/8A//XsVKJB1o6+z6cYDiEAoffUMeljU3mX00ou2EN5v26AYFCaDC\r\nHNAF/qRfjNrHEcQ8L2w9laNUzEaLQQXJDfUojpkVlx8UHE2G8CWoU+Iy9owI\r\nlNSH+cl6k80Kz7tbAdzawOEitU+xmfYLiW/2M3gj6ozujQ0HgTBcxrgXvNMy\r\nAk/nfjsTwS/mhk4r/ZY5NMVDsaM3CF89bcqImTZoYrAWyrCC6ef2K0UeVpsq\r\nsTwW2pI4mBxLa9UgRHoyJy9k6LBKgWYX7bbzpXhHB27173cz7PdQe6cCp+SL\r\n6LNEAJZDjNJyxdpQlYoG3UYiICTOvJP7D7u7NfDFInpOI8MAK1KDwrlUhJKL\r\nTEvRH0Y33PZhS3lrdX3w8eLpbYxHc0cau6BHZ92/03spQG51e4tw5rD0M9Wm\r\n6cg1VY3mph5z36eJT4oDgdrxWjaK/IAi2WdeMGfsME7XNsJMjHpE93okvQ+U\r\nyHD0HAJIZmb7Zw9smciGpk8RpDgf03W2zNC3WfQaU1QVsnQ1Xl9R/WKrOvnZ\r\nsKD4NWyO7dxEEyTqDOZLQNrTuW7qLyE0R8ZZxK6/9KaFOyayhM5Ue4RQKv/T\r\nddVK0Kp6At7U7CpRA+nyr6pQDO0TcNIaTWlhznJwVdLLoEECB4oF0AqYqATj\r\ny50/7SfUJJXTHUoNRhOh/ucvQll3S+9eZOo=\r\n=ROr1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"amerfarooq","email":"amerfarooq@live.com"},"directories":{},"maintainers":[{"name":"amerfarooq","email":"amerfarooq@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iso-country-currency_0.6.1_1662488545739_0.6659560124941024"},"_hasShrinkwrap":false},"0.6.2":{"name":"@amerfarooq/iso-country-currency","version":"0.6.2","description":"Get country name, currency and currency symbol via ISO2 country abbreviation","repository":{"type":"git","url":"git+https://github.com/amerfarooq/iso-country-currency.git"},"main":"index.js","types":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["country","currency","iso2"],"author":{"name":"Oleksii Didenko did.aleksej@gmail.com"},"license":"ISC","gitHead":"cdf352d6513e2b1c24d49cca7c4fe6650eaa5ef2","bugs":{"url":"https://github.com/amerfarooq/iso-country-currency/issues"},"homepage":"https://github.com/amerfarooq/iso-country-currency#readme","_id":"@amerfarooq/iso-country-currency@0.6.2","_nodeVersion":"16.13.2","_npmVersion":"8.5.1","dist":{"integrity":"sha512-bBCVHw0z/60tSp5BVojwBcdEwU0cTfBGgyNDPtyc//newHIwRRDOv/Z+z6udrlRFGciV9SVHJtVQrKuos+qAbg==","shasum":"f9f7178b3979b7e38606180a88bca75e07f3a801","tarball":"https://registry.npmjs.org/@amerfarooq/iso-country-currency/-/iso-country-currency-0.6.2.tgz","fileCount":11,"unpackedSize":27147,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw6umg6XHz9rMjzEhZeRBDWkYzTffZ9YArhfqfX2j8pQIhALxrEwMvF9o1Jx/lzQ0JXx/PANyKOk/pfLVXXlibW5b0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF5B5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrrgg//QUORHcJCj6cLQTXF3F1wCWMrDF5wlBM+Y9Yr632zBGz43GsA\r\nI9LcNB2YY4GafyPYshhfTXL8FVAPO7GNed4dw1wjl+C30SaY53dhWwXuH6Nj\r\nWPRKr2IvmF2aPSPN22GoXU6xojpI1wNK0HyjX409tg8bD2jsqaUwYXWjbLYc\r\nXSuURUjxQXAAUxNpdHJY/kZvxH90oPND29n6o1yynGbLJaCSaJdjViVjZo7t\r\nuWL9mpOL4WTgFZ6/2BIZG00Jni5TAUwagWbYBOfx8eXaePg+jF0oC4UId4k6\r\nhqheGHnn+0A+qBKgfcXVYbYGUpMxi7SzPAIkgt0Xh5r0rDWUqvNs35qD9mPx\r\nAVeS1OAGzGLfrMh4jIuPAmdFg/x3Abms3kcclZJc8S4mVoUNi/jAYYbgflEz\r\n5DyTaSsbcH9lJ9xVcXeYr3z5DYoDRj1Nabw/LNkBTHqdEs197yw8HYbZu+At\r\n7vIBJpB7NdBBcoCg1e6fBkcK8JonYosptcNDHkwYA2Mx/OdyOvPytPKdVphU\r\nZsotQmZgExXgFjjZ6PioorJcwZMMzEmPJxhtfM/6ORM5jRT1OFjgV9SZmLP9\r\nvPIxqxn5wasypcqBRFPbJAqs/aK4WJtgT1oeElrgIAVBC2ATXZnPZSGWX54v\r\n6dOZTc8cCeHj43qaln/RnRonD/tQsd2AY7k=\r\n=4eQR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"amerfarooq","email":"amerfarooq@live.com"},"directories":{},"maintainers":[{"name":"amerfarooq","email":"amerfarooq@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iso-country-currency_0.6.2_1662488697349_0.23117541536544572"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-06T18:22:25.688Z","0.6.1":"2022-09-06T18:22:25.869Z","modified":"2022-09-06T18:24:57.593Z","0.6.2":"2022-09-06T18:24:57.519Z"},"maintainers":[{"name":"amerfarooq","email":"amerfarooq@live.com"}],"description":"Get country name, currency and currency symbol via ISO2 country abbreviation","homepage":"https://github.com/amerfarooq/iso-country-currency#readme","keywords":["country","currency","iso2"],"repository":{"type":"git","url":"git+https://github.com/amerfarooq/iso-country-currency.git"},"author":{"name":"Oleksii Didenko did.aleksej@gmail.com"},"bugs":{"url":"https://github.com/amerfarooq/iso-country-currency/issues"},"license":"ISC","readme":"## Installation\n`npm install iso-country-currency`\n\n## Usage\nImport package where you want and start using \n\n## Updates\nNow has TS support!\n\nv0.6.0\nAdded dateFormat to some countries\n\n## Documentation\n\n### getAllISOCodes()\nReturns an array of all ISO codes and according data\n\n`getAllISOCodes()`\n```\n{\n    iso: \"BE\" \n    countryName: \"Belgium\",\n    currency: \"EUR\",\n    symbol: \"€\",\n    dateFormat: \"d/MM/yyyy\"\n}\n```\n\n### getAllInfoByISO(iso) \nReturns an object with properties 'countryName', 'currency', 'symbol' and 'dateFormat' \n\n`getAllInfoByISO('BE')`\n```\n{\n    iso: \"BE\"\n    countryName: \"Belgium\",\n    currency: \"EUR\",\n    symbol: \"€\",\n    dateFormat: \"d/MM/yyyy\"\n}\n```\n### getParamByISO(iso, param) \nReturns param value for given ISO2\n\n`getParamByISO('BE', 'symbol')`\n\n`€`\n\n### getISOByParam(param, value)\nReturns ISO2 code by given param value\n\n`getISOByParam('countryName', 'Belgium')`\n\n`BE`\n\n### getParamByParam(givenParam, givenParamValue, searchParam)\nReturns search param value by given param value\n\n`getParamByParam('countryName', 'Belgium', 'currency')`\n\n`EUR`\n\n### getAllCountriesByCurrencyOrSymbol(param, value)\nReturns array with all countries, that contain given param ('currency', 'symbol') with given value\n\n`getAllCountriesByCurrencyOrSymbol('currency', 'EUR')`\n\n`[\"Belgium\", \"Saint Barthelemy\", \"Reunion\", \"Greece\", ...]`\n\n\n### getAllISOByCurrencyOrSymbol(param, value)\nReturns array with all ISO2 codes, that contain given param ('currency', 'symbol') with given value\n\n`getAllISOByCurrencyOrSymbol('currency', 'EUR')`\n\n`[\"BE\", \"BL\", \"RE\", \"GR\", ...]`\n","readmeFilename":"README.MD"}