{"_id":"@amplifiedhq/countries-atlas","_rev":"40-58abf574e5258231e9be181a6b748333","name":"@amplifiedhq/countries-atlas","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@amplifiedhq/countries-atlas","version":"1.0.0","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.0.0","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"48c081fca16c757bc7ed94aca795f7b56eb4ee3d","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.0.0.tgz","fileCount":529,"integrity":"sha512-YIUA2/ELXNa3gJ5W4Hc271fv/7BTaIQgMXQyoCvbOD1xdsJSA00evDENe2yancK7tNoDY3LiahCB6r3ND1cicw==","signatures":[{"sig":"MEUCIQCon0SY3HiuPtbDIXAnklAMx1hXCrrbSuIrI85oEtEyKQIgTRgc5LjV37pxB2LnPaG0FFQTNq1Bhc+LZ+XXoPjUssI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31949175},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"148c9dc9266f0ab3e72f01c330c1c7228e624c17","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.0.0_1692115317219_0.413089272357652","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@amplifiedhq/countries-atlas","version":"1.0.1","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.0.1","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"b89c786a66ce23110e051966dd7977f26f6e7f8e","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.0.1.tgz","fileCount":529,"integrity":"sha512-ALFkaEkoZxf2MGPjXOQcmP8D8KtmFiuTqfGyniWx0GvehBfece/GwLUpBdRCAdwl+WWVAIRPlHOlJlR3N/3Dcw==","signatures":[{"sig":"MEYCIQCz27ojcnwWKy42yE9ohekkUDcl/Lv7eotDu5j23RSvEQIhAIgKkA0yy8i4g5gLaqKwX+5JAlFNKTAgU5wQN1CV9gC8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31969885},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4ca59eb16426419199ad3f33fda95fb0233b4ecf","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.0.1_1692120326877_0.0344949330719313","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@amplifiedhq/countries-atlas","version":"1.0.2","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.0.2","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"2230b7bd950eda8782f05507d3123a7104f48aa4","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.0.2.tgz","fileCount":529,"integrity":"sha512-GQPbOyHIflKUb2iBL/Gatj6fsCPr9K7cXH7NVimviFE/Eff3P5J/VLXvnvPva2EcOXfuEdHXHCw9vp8cG+jIzQ==","signatures":[{"sig":"MEUCIQD+lbgkTFwcPkShxgCuwcdX/vUT0czHTJ6PC1ucJ1lVXgIgf0QPTN4vKQHvdTyekDWRrzc0l/h587S9DXTF71D/Fag=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31969925},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4ca59eb16426419199ad3f33fda95fb0233b4ecf","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.0.2_1692121174732_0.9892991564024711","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@amplifiedhq/countries-atlas","version":"1.0.3","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.0.3","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"d1521dae30ccea500a4d69a63eeae34d1955400c","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.0.3.tgz","fileCount":529,"integrity":"sha512-wzbZBXKENjzABm5PrirOy/bjcEaA1IXRWhN1QLEB2HmbgqkbB/rIif5BkqfZtGaf/VCiARHQx1C3hKhz+DkdAg==","signatures":[{"sig":"MEUCIQC58zHb7ocbJfFSw0/Q74g7qn4MjZ+/jCCO0qrvNrp+1wIgC7yR2Sjl9+nPzhJWq+TuoZfrj5lyHrWQtezAyLk4OEI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17988094},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"fda749b3bf03ad77c0c81e2f20b3d28521a0a47f","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.0.3_1692126294667_0.17193806905603148","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@amplifiedhq/countries-atlas","version":"1.0.4","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.0.4","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"7c30668279186d24368f912df579780ea8455924","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.0.4.tgz","fileCount":529,"integrity":"sha512-II7SDjZFuCB6xq4yNT+VvuWBKuBNGg1EOGEn49N0TRTW97ilKnUYOQpXkaKI2J59hc4JozM2DhCWARkd9snDEQ==","signatures":[{"sig":"MEYCIQDAfeaxRdGxhpkX2ycRJaTan33VXaQliR5Gpy6ipbE9iQIhAKmdbsp5i+1196VQTGD4bUPfejLJQqTM2WhxXjkMI5pc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17987959},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"fda749b3bf03ad77c0c81e2f20b3d28521a0a47f","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.0.4_1692126759145_0.8361699822627804","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@amplifiedhq/countries-atlas","version":"1.0.5","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.0.5","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"86f85f7d5a08bd44dd9cc71178e4ccb3634f5ca7","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.0.5.tgz","fileCount":529,"integrity":"sha512-rILsMUK3EjhAH87NbRNO35Eq3Im0gJXjpUDcOo/4n7LU00lvh4bunAS+EID4OdC8ishSnDDYZlkk2kGu90EoFw==","signatures":[{"sig":"MEUCIBX8eVp6FdBsIl26XAV4UlC9sRpdE5CSjunttWcAWU93AiEA7c2+mc4CCr41tLm8SgklQv0zKx/S2BxTNQyxmHuJrVg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17988094},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"214a09e25eb5cfa0fc3c4258a0ef5ef5c6fb612a","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.0.5_1692127184634_0.47562097622956023","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@amplifiedhq/countries-atlas","version":"1.1.0","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.1.0","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"a1478d52bc19fe4b2d2adb633cc0305678dff057","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.1.0.tgz","fileCount":531,"integrity":"sha512-qmsiu2KI8s9Hlgwig1RF3Cs9ZKe9A/eXMI1oG9iyfPs6qbKkZUPhIZuSuWeRJM1YwBJRKYfIP07w28zhOtkqtg==","signatures":[{"sig":"MEQCIHxgUIn073nRjqNi4ZjpX/iucq9eO32/UJsU0DqN8DBxAiA5S9XpGs5sp2JiVp/lf99vv5ohFjtZsFu9uh3W4LMkUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18051647},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"946f7d7a609d4b884de28bc558881a7d37e2a09b","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.1.0_1692129150734_0.415577904893065","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@amplifiedhq/countries-atlas","version":"1.1.1","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.1.1","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"95da84f9cb78eb49a1531d740ba6c296cd56c305","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.1.1.tgz","fileCount":531,"integrity":"sha512-ZdFSHq9e6qd1wikaLxXOnsIpWW/Gk4L1+xRVDmXm50j1/1vBycwGu5ux2F6GdFX7vwO/g1ahXFlyk0iVeRFrxw==","signatures":[{"sig":"MEQCIAuQ+jRrwrNSPdUIGi5xx8gy2t8ArfAS1FW4qM6oEyDeAiAlw98qgCBH/lh4v+VdL722FGZi/S83uh+dtJN1uecATw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18052100},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"7a3fff686299ca3cae6e56b1d24e3ef64ce3bd54","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.1.1_1692177575819_0.2027040526426589","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@amplifiedhq/countries-atlas","version":"1.1.2","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.1.2","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"1710840168680eb7fd99b0af9a238ae111bf48a1","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.1.2.tgz","fileCount":531,"integrity":"sha512-lV/C+XNIvATTajtQ2UVm2t9A9LL0mKJr/ucYlXxshsGXwJS28WyX6GFm+KTxaXC25kiZtGraJmu+XYwSpk43yw==","signatures":[{"sig":"MEUCIQCwMmtt34Yk2ytmgHk5OYEb5lHT4m0cMgDrd6xjEo5nuQIgIMXFO9w1embc57UhvWf+HA3h6mcMAAm5i+jaUJ4Z+MM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18063328},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0cbc266e7f81c22121379743e008b13117c0b11c","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"9.6.5","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.1.2_1692651137167_0.40643500716730796","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@amplifiedhq/countries-atlas","version":"1.1.3","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.1.3","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"bc2175cdf1f248fc2b0fe5f14a871ed81f0fdc1d","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.1.3.tgz","fileCount":531,"integrity":"sha512-lvUIuAJ687g3f2b48qoe/Ppd3RDCWGhcz9uz2+JI63I/r9bSUFJKtZ69wFa0Le2DXP0+WaAVbiz++7Az3JbLQA==","signatures":[{"sig":"MEQCIH8LXVUe0iALIvmh4D/YSJOgpsfB1AIhsJp0GzgYOsl0AiBqGK0Ud9O0Y0fPczq+n/GF5lsbXt0aMCRa2hrALlWcrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18070058},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"619f5d4cdbe4d24e27334f5fa4b7e4563cc0ba1a","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"10.1.0","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.1.3_1702967792222_0.24705953199232922","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@amplifiedhq/countries-atlas","version":"1.4.0","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.4.0","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"3174dbbb228513ea0640ae8de55ad26fd96a3d31","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.4.0.tgz","fileCount":531,"integrity":"sha512-gOtaMWqDsA+PdUv0m4sLtTxRWwJNQPVWEBWablDBmCEb1XvTOAyNfg7etyYhxEMvT/xlfprAYJUosM2LelJzww==","signatures":[{"sig":"MEYCIQDHSjsaBySMkE8YxyCvTPk3p0UDyRMVF9ugzJui1m+MaAIhAPEX+a04cedGANgYy93E0fuFvsJsvJyyYplXe1p5ibvA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18071019},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"038b87ee51d47db138ff6619c8a6b894281b869f","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"rm -rf dist && tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"10.5.0","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.4.0_1713341748108_0.3618904790205202","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@amplifiedhq/countries-atlas","version":"1.4.1","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.4.1","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"7c1a5b157f37fe0f26a8a3e5e6dd536002485ae1","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.4.1.tgz","fileCount":531,"integrity":"sha512-MFPHpc4MDOH91IR/WdiyU+zVoEwkMnz6Hs9kGgdYg7ZdryOd4W5b9xQR5Yv5Rc8fhRfuh/n2/JfdVM1OUjavQg==","signatures":[{"sig":"MEYCIQDz9Dn8Ft7P/bnTgp1/CC3nQ032xra7IKpmTh7YIrRr3wIhAJT4gPfyfw3u/PaxqlLrbAo8/yHP7IKZOuZp4ARMPpaN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18114387},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2b422b82884be3adc814212d0f9aec2c208f4d4a","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"rm -rf dist && tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"10.5.2","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.4.1_1713897974726_0.47551237411257885","host":"s3://npm-registry-packages"}},"1.4.12":{"name":"@amplifiedhq/countries-atlas","version":"1.4.12","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.4.12","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"e94da7ffd71ea2ffd3b56606b6e3e1c3dd89df75","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.4.12.tgz","fileCount":533,"integrity":"sha512-WB+5plfYcSOSIhhECEPQ0hJVuUpEXzku50bpfUlulnsxa7zi2sbb1c9OmwBbgAKv7ZQupjqf/IaDiJLCjFQARg==","signatures":[{"sig":"MEYCIQDth7n1xDZaXZIyeRovRp6uqe1ZZ3MlCf0c4mVs3Q3jWwIhAOphMzgUF38Os0iDCcrNXCt9zY3ghpFxYGeW65pldD2M","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18097591},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"332cffb616bfea3cfcdd8e61b8e926dfdbcdb060","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"rm -rf dist && tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"10.5.2","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.4.12_1714335197698_0.44713549560860844","host":"s3://npm-registry-packages"}},"1.4.13":{"name":"@amplifiedhq/countries-atlas","version":"1.4.13","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.4.13","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"48e47629342d5721043143352a3c5476fb394cee","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.4.13.tgz","fileCount":533,"integrity":"sha512-AyXj5WlY2Bf5hv3i8ZNASMKzhQHw8jvaWOGCr2L9jTiecsaAX8VWH4HEMeog/HI+oUQ4oXJi7odmtP2qNKklFg==","signatures":[{"sig":"MEYCIQCOzNQXVcvybHV8g2wzjZEZ6zKQTEbZ372mthghuaft1AIhAKftfAjXMx7xAoSB6xLKUK6Ggz8tBHYgjgrqXC+h40ac","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18097497},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ba354ce0c8e9d50f4588f35a14f5a700f1cc6704","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"rm -rf dist && tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"10.5.2","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.4.13_1714335659805_0.13187087842788214","host":"s3://npm-registry-packages"}},"1.4.15":{"name":"@amplifiedhq/countries-atlas","version":"1.4.15","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.4.15","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"2ac3f2ba5eefec5f917430eaaac50065286bec98","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.4.15.tgz","fileCount":531,"integrity":"sha512-An91Em2CqI2fzkGsSbGbfTkc1EIUcYbr5UWtvtKSr2Vb1FNna7zf/Ua/IP3XmpWH7jNoWb7sFLvdwGqF9jMfoA==","signatures":[{"sig":"MEYCIQD9Oh0VbYBudj4M/wJ56vaTZoO8b78qXSkCZB+a6rEVTAIhAIzL7NTQ21xtwtQSnnQp6VkIO/wBanIKv/MGc2+Lknnk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18071818},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2981a4f8db69991ecab3ec3c372d22ac8630e3fc","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"rm -rf dist && tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"10.5.2","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.4.15_1714335809868_0.4397448188378954","host":"s3://npm-registry-packages"}},"1.4.16":{"name":"@amplifiedhq/countries-atlas","version":"1.4.16","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.4.16","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"f7954387655afda08be1bacc4990a6402d124e78","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.4.16.tgz","fileCount":531,"integrity":"sha512-U87RHcZAxtmuQLeg686ihQEjeZkztm18761Lkf43fPvBNQvX9pIdltKi1qTrcdrDgoSx/TmbHllH2gp3Zw8Gqg==","signatures":[{"sig":"MEUCID3aK09yINF0KqyN9s2SLFQpo222jTDOUJnip63cDpIjAiEApG8nf3E/CQZre0TbRAU1BwVHuuv9I8x73FCVlUUh6gM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18071818},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c5b532635ac9155ee2488d6afcba0928af1a0ab5","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"rm -rf dist && tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"10.8.2","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.4.16_1726093498173_0.620862786789083","host":"s3://npm-registry-packages"}},"1.4.17":{"name":"@amplifiedhq/countries-atlas","version":"1.4.17","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","_id":"@amplifiedhq/countries-atlas@1.4.17","maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"dist":{"shasum":"71e7adc2d9ba8ee1bb2a27791399dd0048981111","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-1.4.17.tgz","fileCount":531,"integrity":"sha512-ZkgYYGtSVnEfvDBZGbeXBFSpM3P8/tvlr4r/N6VpVdtpTqM/pke+4Km99c5DGO3FWd/7A1iOjeJ+5eQdCwkdKw==","signatures":[{"sig":"MEUCIHsrpEXU0vrhp3OgyQTp9CNCPM2aQ+g2SjZvosvAIf0lAiEAmfYckWOvA9DS6IXHA/E5cfhMBMbHutPgZbhXI3cbqUA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18090143},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"dbe04a2e83ff85dccd6148f0839cf9eaa5b8ac1d","scripts":{"lint":"eslint src --ext .js,.ts","sync":"python3 scripts/sync.py","test":"jest --config jest.config.js","build":"rm -rf dist && tsc && copyfiles flags/**/*.{png,svg,css,scss} dist","format":"prettier --write \"src/**/*.(js|ts)\"","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint src --fix --ext .js,.ts","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint && npm run sync"},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"repository":{"url":"git+https://github.com/amplifiedhq/countries-atlas.git","type":"git"},"_npmVersion":"11.7.0","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","directories":{},"_nodeVersion":"23.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","eslint":"8.35.0","ts-jest":"29.0.5","prettier":"2.8.4","copyfiles":"^2.4.1","typescript":"4.9.5","@types/jest":"29.4.0","eslint-plugin-jest":"27.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/countries-atlas_1.4.17_1769259921916_0.43509872453222975","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@amplifiedhq/countries-atlas","version":"2.0.0","description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":["**/*.css","**/*.scss"],"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./states":{"types":"./dist/states.d.ts","default":"./dist/states.js"},"./cities":{"types":"./dist/cities.d.ts","default":"./dist/cities.js"},"./flags":{"types":"./dist/flags.d.ts","default":"./dist/flags.js"},"./flags/*":"./flags/*","./translations":{"types":"./dist/translations.d.ts","default":"./dist/translations.js"},"./package.json":"./package.json"},"engines":{"node":">=18"},"scripts":{"build:data":"node scripts/build-data.mjs","validate":"node scripts/validate-data.mjs","build":"rm -rf dist && npm run build:data && tsc -p tsconfig.build.json && npm run build:flags && node scripts/finalize-dist.mjs","typecheck":"tsc --noEmit","format":"prettier --write \"src/**/*.ts\" \"scripts/**/*.mjs\"","lint":"eslint src scripts","lint:fix":"eslint src scripts --fix","test":"vitest run","test:watch":"vitest","prepack":"npm run build","preversion":"npm run lint && npm run test","build:flags":"node scripts/build-flags.mjs"},"repository":{"type":"git","url":"git+https://github.com/amplifiedhq/countries-atlas.git"},"contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"author":{"name":"AmplifiedHQ"},"license":"MIT","bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"homepage":"https://github.com/amplifiedhq/countries-atlas#readme","devDependencies":{"@eslint/js":"^9.39.5","@types/node":"^26.2.0","eslint":"^9.39.5","prettier":"^3.9.6","svgo":"^3.3.4","typescript":"^5.9.3","typescript-eslint":"^8.67.0","vitest":"^4.1.10"},"typesVersions":{"*":{"states":["./dist/states.d.ts"],"cities":["./dist/cities.d.ts"],"flags":["./dist/flags.d.ts"],"translations":["./dist/translations.d.ts"]}},"devEngines":{"runtime":{"name":"node","version":">=20.19","onFail":"warn"}},"_id":"@amplifiedhq/countries-atlas@2.0.0","gitHead":"5bece0f0f567f453a1dcdb1e3bbae38a88b9a131","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-yMLJ6KUa3+QlMIfNksnbcCoooA8EwTgkEqBj3Ri8Atd8b/P1SjDMKL0VAbRFqrasVsPKMItH5obrISzpbut75w==","shasum":"d76002ff641630d76d491979ba96916b93a2e5a3","tarball":"https://registry.npmjs.org/@amplifiedhq/countries-atlas/-/countries-atlas-2.0.0.tgz","fileCount":718,"unpackedSize":8323108,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amplifiedhq%2fcountries-atlas@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC4wCIUBM4LixNPO2fbYDc99tCVFXpYYSrAtIbi2EjRnQIgB8FV5QmlEVK+L2Ck651xJajQx5W9nRSGbFUJT38Ru5Q="}]},"_npmUser":{"name":"hendurhance","email":"hendurhance@outlook.com"},"directories":{},"maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/countries-atlas_2.0.0_1786810560944_0.3289188861044563"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-15T16:01:57.116Z","modified":"2026-08-15T16:16:01.630Z","1.0.0":"2023-08-15T16:01:57.422Z","1.0.1":"2023-08-15T17:25:27.223Z","1.0.2":"2023-08-15T17:39:35.080Z","1.0.3":"2023-08-15T19:04:55.070Z","1.0.4":"2023-08-15T19:12:39.540Z","1.0.5":"2023-08-15T19:19:45.165Z","1.1.0":"2023-08-15T19:52:30.988Z","1.1.1":"2023-08-16T09:19:36.145Z","1.1.2":"2023-08-21T20:52:17.473Z","1.1.3":"2023-12-19T06:36:32.632Z","1.2.1":"2024-04-14T19:54:04.744Z","1.2.2":"2024-04-15T12:39:19.569Z","1.2.3":"2024-04-15T12:50:47.524Z","1.2.4":"2024-04-16T11:17:54.941Z","1.2.5":"2024-04-16T12:13:23.628Z","1.2.6":"2024-04-16T17:24:03.635Z","1.2.7":"2024-04-16T17:29:25.335Z","1.2.8":"2024-04-16T18:21:27.874Z","1.2.9":"2024-04-16T18:52:08.666Z","1.3.0":"2024-04-16T21:08:59.723Z","1.3.1":"2024-04-16T22:23:46.066Z","1.4.0":"2024-04-17T08:15:48.399Z","1.4.1":"2024-04-23T18:46:15.037Z","1.4.12":"2024-04-28T20:13:17.938Z","1.4.13":"2024-04-28T20:21:00.065Z","1.4.15":"2024-04-28T20:23:30.075Z","1.4.16":"2024-09-11T22:24:58.451Z","1.4.17":"2026-01-24T13:05:22.229Z","2.0.0":"2026-08-15T16:16:01.264Z"},"bugs":{"url":"https://github.com/amplifiedhq/countries-atlas/issues"},"author":{"name":"AmplifiedHQ"},"license":"MIT","homepage":"https://github.com/amplifiedhq/countries-atlas#readme","keywords":["internationalization","i18n","countries","country","country-codes","geography","states","provinces","cities","continents","flags","languages","currencies","timezones","countries-atlas"],"repository":{"type":"git","url":"git+https://github.com/amplifiedhq/countries-atlas.git"},"description":"Uncover the world with a single lightweight library - countries, codes, currencies, flags, languages, cities, and more 🌎","contributors":[{"name":"Josiah Endurance","email":"hendurhance.dev@gmail.com"},{"name":"Abdulrazaq Adewale","email":"classyrazy014@gmail.com"}],"maintainers":[{"name":"hendurhance","email":"hendurhance@outlook.com"}],"readme":"# Countries Atlas 🌎\n\nLook up countries, ISO codes, currencies, calling codes, languages, time zones, states, and cities.\n\n[![npm version](https://img.shields.io/npm/v/@amplifiedhq/countries-atlas)](https://www.npmjs.com/package/@amplifiedhq/countries-atlas)\n[![npm downloads](https://img.shields.io/npm/dt/@amplifiedhq/countries-atlas)](https://www.npmjs.com/package/@amplifiedhq/countries-atlas)\n[![build status](https://img.shields.io/github/actions/workflow/status/amplifiedhq/countries-atlas/ci.yml?branch=main)](https://github.com/amplifiedhq/countries-atlas/actions)\n[![GitHub issues](https://img.shields.io/github/issues/amplifiedhq/countries-atlas)](https://github.com/amplifiedhq/countries-atlas/issues)\n[![GitHub license](https://img.shields.io/github/license/amplifiedhq/countries-atlas)](./LICENSE)\n\nThe dataset covers 250 countries, 4,857 states, 147,644 cities, 423 time zones, and 155 currencies. Countries load from a 56 KB table. States and cities load per country, on demand, so an application that offers three countries downloads three chunks instead of the whole dataset.\n\n<img src=\"./docs/architecture.svg\" alt=\"The dataset is packed at build time into a 56 KB country table plus one module per country for states and cities. The country table loads with your app; state and city modules are fetched on demand.\" width=\"100%\">\n\nFor how the packing works, see [docs/DATA-FORMAT.md](./docs/DATA-FORMAT.md).\n\nUpgrading from v1? Read the [migration guide](./MIGRATION.md). v2 contains breaking changes and ships no deprecation layer.\n\n## Requirements\n\nNode.js 18 or later. The package ships as ES modules only.\n\nCommonJS callers can use `await import()` on every supported version. Plain `require()` works only where Node.js supports requiring an ES module: 20.19 and later in the 20.x line, and 22.12 and later. It raises `ERR_REQUIRE_ESM` on Node.js 18 and 21. See [Install and import](./MIGRATION.md#install-and-import) for the tested matrix.\n\n## Install\n\n```bash\nnpm install @amplifiedhq/countries-atlas\n```\n\n## Quickstart\n\n```ts\nimport { getCountry } from '@amplifiedhq/countries-atlas';\n\nconst country = getCountry('US');\nif (country) {\n  console.log(country.name, country.callingCodes, country.currency.code);\n}\n```\n\nOutput:\n\n```text\nUnited States [ '1' ] USD\n```\n\n`getCountry()` returns `Country | undefined`, so narrow the result before you read from it. The examples below use `?.` for the same reason.\n\n## Entry points\n\nImport only what you need. The subpaths aren't fully independent: `/cities` also loads `/states` to resolve each city's state, and `/translations` needs the core country table.\n\n| Import | Contents | Cost |\n| --- | --- | --- |\n| `@amplifiedhq/countries-atlas` | Countries, currencies, calling codes, time zones, validators | 56 KB, synchronous |\n| `@amplifiedhq/countries-atlas/states` | States and provinces | About 1 KB per country, asynchronous |\n| `@amplifiedhq/countries-atlas/cities` | Cities and towns | 160 bytes to 396 KB per country, asynchronous |\n| `@amplifiedhq/countries-atlas/flags` | Flag helpers | 3 KB |\n| `@amplifiedhq/countries-atlas/flags/*` | Flag SVG, CSS, and Sass assets | Loaded per file |\n| `@amplifiedhq/countries-atlas/translations` | Country names in 12 locales | 53 KB plus the 56 KB core table, synchronous |\n\n## Countries\n\nAll functions in this section are synchronous. The packed table decodes once, on first use.\n\n### getCountry(code)\n\nReturns the country with the given ISO 3166-1 alpha-2 or alpha-3 code, or `undefined` if no country matches. The lookup ignores case and surrounding whitespace.\n\n```ts\ngetCountry('US')?.name;   // 'United States'\ngetCountry('usa')?.name;  // 'United States'\ngetCountry('XX');         // undefined\n```\n\nOnce you've narrowed away `undefined`, every field on the result is required, so no further optional chaining is needed inside the object.\n\n```ts\ninterface Country {\n  readonly iso2: string;                  // 'AD'\n  readonly iso3: string;                  // 'AND'\n  readonly name: string;                  // 'Andorra'\n  readonly nativeName: string;            // 'Andorra'\n  readonly capital: string;               // 'Andorra la Vella'\n  readonly callingCodes: readonly string[];  // ['376']\n  readonly currency: Currency;            // { code, name, symbol }\n  readonly continent: string;             // 'Europe'\n  readonly region: string;                // 'Europe'\n  readonly subregion: string;             // 'Southern Europe'\n  readonly languages: readonly string[];  // ['ca']\n  readonly latitude: number;              // 42.5\n  readonly longitude: number;             // 1.5\n  readonly emoji: string;                 // '🇦🇩'\n  readonly timezones: readonly Timezone[];\n}\n```\n\nEvery field is `readonly`, and the arrays are `readonly` too. Copy a value out before mutating it:\n\n```ts\nconst codes = [...getCountry('US')!.callingCodes];\n```\n\nReturned objects are frozen. Mutating a result throws in strict mode rather than corrupting the shared table.\n\nCountries that use several calling codes return all of them:\n\n```ts\ngetCountry('DO')?.callingCodes;   // ['1809', '1829', '1849']\n```\n\nFor the 14 countries whose source record lists several currency codes, `currency.code` holds the first, which is the one `currency.name` and `currency.symbol` describe. Antarctica has no currency and returns an empty `code`.\n\n### getCountries()\n\nReturns all 250 countries, ordered by ISO 3166-1 alpha-2 code. To select fields, map over the result:\n\n```ts\nconst options = getCountries().map((country) => ({\n  value: country.iso2,\n  label: `${country.emoji} ${country.name}`,\n}));\n```\n\n### getCurrencies() and getCurrency(code)\n\n`getCurrencies()` returns the 155 distinct ISO 4217 currencies, ordered by code. `getCurrency(code)` returns one currency, ignoring case, or `undefined`.\n\n```ts\ngetCurrency('eur');       // { code: 'EUR', name: 'Euro', symbol: '€' }\ngetCurrencies().length;   // 155\n```\n\nTo read a single country's currency, use `getCountry('US')?.currency`.\n\n### getTimezones() and getTimezone(name)\n\n`getTimezones()` returns all 423 distinct IANA time zones. `getTimezone(name)` returns one zone, or `undefined`. IANA names are case-sensitive.\n\n```ts\ngetTimezone('Europe/Andorra');\n// {\n//   name: 'Europe/Andorra',\n//   utcOffset: 3600,\n//   utcOffsetName: 'UTC+01:00',\n//   abbreviation: 'CET',\n//   description: 'Central European Time',\n// }\n```\n\n`utcOffset` is in seconds. A country's own zones are on its record, at `getCountry('US')?.timezones`.\n\n### getCallingCodes()\n\nReturns one entry per country-and-code pair, so a country with several codes contributes several entries. 257 entries cover 236 distinct codes: `+1` appears three times, once each for Canada, the United States, and the U.S. Minor Outlying Islands. Deduplicate by `code` if your picker needs one row per dial prefix.\n\n```ts\ngetCallingCodes();\n// [{ code: '376', country: { iso2: 'AD', ... } }, ...]   // 257 entries\n```\n\n### Validators\n\nEach validator returns a boolean. All ignore case except `isValidTimezone`, because IANA zone names are case-sensitive.\n\n```ts\nimport {\n  isValidCountryCode,\n  isValidCurrencyCode,\n  isValidTimezone,\n  isValidCallingCode,\n} from '@amplifiedhq/countries-atlas';\n\nisValidCountryCode('US');             // true, accepts alpha-2 and alpha-3\nisValidCurrencyCode('usd');           // true\nisValidTimezone('America/New_York');  // true, case-sensitive\nisValidCallingCode('+1');             // true, accepts 1, '1', and '+1'\n```\n\n## States\n\n```ts\nimport { getStates, getState } from '@amplifiedhq/countries-atlas/states';\n\nconst states = await getStates('US');\n// [{ code: 'AL', name: 'Alabama', latitude: 32.31823, longitude: -86.9023 }, ...]\n\nawait getState('US', 'CA');   // { code: 'CA', name: 'California', ... }\n```\n\nBoth functions are asynchronous because each country is a separate module, loaded on demand. After a country loads, `getState()` is a constant-time lookup.\n\n`getStates()` returns an empty array for an unknown country, so you can map the result without a guard. To tell an unknown country from one with no subdivisions, call `isValidCountryCode()`.\n\nStates with no coordinates in the source data return `null` for `latitude` and `longitude` rather than `0`.\n\n## Cities\n\n```ts\nimport { getCities } from '@amplifiedhq/countries-atlas/cities';\n\nawait getCities('AD');         // every city in Andorra\nawait getCities('US', 'CA');   // California only, 1,123 cities\n// { name: 'Los Angeles', stateCode: 'CA', latitude: 34.05223, longitude: -118.24368 }\n```\n\nA country decodes once and stays cached. Both forms are constant time after that first load, including the per-state form, which reads from an index built during decoding.\n\n## Flags\n\nThe package ships all 250 SVGs, two stylesheets, and Sass source. Use whichever of the following fits your build.\n\n### Stylesheet\n\nThe browser fetches only the flags it paints, and no bundler is involved.\n\n```ts\nimport '@amplifiedhq/countries-atlas/flags/css/flags.min.css';\nimport { flagClass } from '@amplifiedhq/countries-atlas/flags';\n\nflagClass('US');   // 'flag flag-us'\n```\n\n```html\n<span class=\"flag flag-us\"></span>\n```\n\n### Direct import\n\nFor bundlers with an SVG loader:\n\n```ts\nimport us from '@amplifiedhq/countries-atlas/flags/svg/us.svg';\n```\n\nTypeScript needs an ambient declaration for this: `declare module '*.svg';`\n\n### Sass\n\nOverride the `!default` variables to change the 40×30 sizing:\n\n```scss\n@use '@amplifiedhq/countries-atlas/flags/scss/flags' with (\n  $flag-width: 24px,\n  $flag-height: 18px\n);\n```\n\nSass resolves paths on the filesystem rather than through the `exports` map, so `node_modules` has to be on its load path. Bundlers put it there for you. With the Sass CLI, pass it yourself:\n\n```bash\nsass --load-path=node_modules input.scss output.css\n```\n\n### Emoji\n\n`flagEmoji()` derives a regional indicator pair from the country code, so it needs no asset and no network request. Windows renders the letters rather than a flag, which is why the SVGs exist.\n\n```ts\nimport { flagEmoji } from '@amplifiedhq/countries-atlas/flags';\n\nflagEmoji('US');   // '🇺🇸'\n```\n\n### Remote URLs\n\n`flagUrl()` builds a URL. The bundled assets, both CDNs, and your own host coexist, so choose per call.\n\n```ts\nimport { flagUrl } from '@amplifiedhq/countries-atlas/flags';\n\nflagUrl('US');                                 // https://flagcdn.com/us.svg\nflagUrl('US', { source: 'flag-icons' });       // 4:3, matching the bundled SVGs\nflagUrl('US', { baseUrl: '/static/flags' });   // /static/flags/us.svg\nflagUrl('US', { format: 'png', width: 160 });  // https://flagcdn.com/w160/us.png\n```\n\n`width` accepts one of eight values that flagcdn serves: `20`, `40`, `80`, `160`, `320`, `640`, `1280`, or `2560`. Any other number is a type error.\n\n| Source | Aspect ratio | Formats | Serbia's flag |\n| --- | --- | --- | --- |\n| Bundled `flags/svg/` | 4:3 | SVG | 884 KB |\n| `flagcdn`, the default | Official per flag | SVG, PNG | 29 KB |\n| `flag-icons` | 4:3 | SVG | 182 KB |\n| `baseUrl` | Yours | Yours | — |\n\nTo self-host, copy `flags/svg/` from the package into your static directory and pass its path as `baseUrl`. The filenames are already lowercase alpha-2 codes.\n\nThe two CDNs differ in shape as well as size. flagcdn serves each flag in its official ratio, so a row of flags isn't a uniform grid unless you crop with CSS. flag-icons serves every flag at 4:3, matching the bundled assets. Both permit commercial use: flagcdn's flags are public domain through Flagpedia, and flag-icons is MIT.\n\nThe bundled SVGs aren't minified. For the measurements behind that decision, see [docs/FLAGS.md](./docs/FLAGS.md).\n\n## Translations\n\n```ts\nimport {\n  getTranslation,\n  getTranslations,\n  getLocales,\n} from '@amplifiedhq/countries-atlas/translations';\n\ngetTranslation('AD', 'fr');   // 'Andorre'\ngetTranslations('AD');        // { br: 'Andorra', cn: '安道尔', de: 'Andorra', ... }\ngetLocales();                 // ['br', 'cn', 'de', 'es', 'fa', 'fr', ...]\n```\n\nThese are the dataset's own locale codes, not BCP 47 tags. Korean is `kr`, Chinese is `cn`, and `br` is Brazilian Portuguese.\n\n## Exported types\n\nEvery type is exported from the subpath that uses it, so you can annotate your own code.\n\n| Type | Subpath | Description |\n| --- | --- | --- |\n| `Country` | root | The record `getCountry()` returns |\n| `Currency` | root | `{ code, name, symbol }` |\n| `Timezone` | root | `{ name, utcOffset, utcOffsetName, abbreviation, description }` |\n| `CallingCode` | root | One entry from `getCallingCodes()` |\n| `State` | `/states` | `{ code, name, latitude, longitude }` |\n| `City` | `/cities` | `{ name, stateCode, latitude, longitude }` |\n| `FlagSource` | `/flags` | `'flagcdn' \\| 'flag-icons'` |\n| `FlagWidth` | `/flags` | The eight raster widths flagcdn serves |\n| `FlagUrlOptions` | `/flags` | The options bag for `flagUrl()` |\n\n```ts\nimport type { Country, Currency } from '@amplifiedhq/countries-atlas';\nimport type { State } from '@amplifiedhq/countries-atlas/states';\n```\n\n## Framework setup\n\nVite, webpack, Rollup, esbuild, Next.js, and Nuxt need no configuration. Every country chunk is reached through a static `import()`, so bundlers code-split them and ship only the chunks your application can reach.\n\nIf you're upgrading from v1, delete the `@rollup/plugin-commonjs` `dynamicRequireTargets` entry and the Nuxt `build.transpile` entry. Both worked around v1's dynamic `require()`, which v2 no longer uses.\n\n### React example\n\n```tsx\nimport { useEffect, useState } from 'react';\nimport { getCountries } from '@amplifiedhq/countries-atlas';\nimport { getStates, type State } from '@amplifiedhq/countries-atlas/states';\n\nfunction AddressForm() {\n  const [iso2, setIso2] = useState('US');\n  const [states, setStates] = useState<readonly State[]>([]);\n\n  useEffect(() => {\n    let active = true;\n    getStates(iso2).then((result) => {\n      if (active) setStates(result);\n    });\n    return () => {\n      active = false;\n    };\n  }, [iso2]);\n\n  return (\n    <>\n      <select value={iso2} onChange={(event) => setIso2(event.target.value)}>\n        {getCountries().map((country) => (\n          <option key={country.iso2} value={country.iso2}>\n            {country.emoji} {country.name}\n          </option>\n        ))}\n      </select>\n      <select>\n        {states.map((state) => (\n          <option key={state.code} value={state.code}>\n            {state.name}\n          </option>\n        ))}\n      </select>\n    </>\n  );\n}\n```\n\n## Data accuracy\n\nCoordinates are rounded to five decimal places, which is about 1.1 metres at the equator. The share of source values that already carry no information past the fifth decimal varies by table:\n\n| Table | Values unchanged by rounding |\n| --- | --- |\n| Cities | 97.35% (287,474 of 295,288) |\n| Countries | 81.80% (409 of 500) |\n| States | 2.37% (227 of 9,576) |\n\nState coordinates are the outlier: most of them shift, though never by more than about 1.1 metres, which is far below the precision of a subdivision centroid. If you need the source values verbatim, read `data/countries/` from the repository.\n\nEvery other field round-trips exactly. The test suite decodes all 250 countries, 4,857 states, and 147,644 cities on each run and compares every field against the raw source JSON.\n\nTo report a data error, [open an issue](https://github.com/amplifiedhq/countries-atlas/issues).\n\n## Contributing\n\n```bash\nnpm install\nnpm run build:data   # generate src/generated from data/\nnpm test             # 64 tests, including full data parity\nnpm run build        # regenerate data and flags, emit dist, report published size\n```\n\nThe raw JSON in `data/` is the source of truth and isn't published. After editing it, run `npm run build:data`, and the parity test reports any drift.\n\nFor the packed data format, see [docs/DATA-FORMAT.md](./docs/DATA-FORMAT.md). For the flag assets, see [docs/FLAGS.md](./docs/FLAGS.md).\n\n## License\n\nMIT © [AmplifiedHQ](https://github.com/amplifiedhq)\n","readmeFilename":"README.md"}