country-data-package
A Data Package for names and codes of countries, and their continents, regions, and principal subdivisions
Usage no npm install needed!
<script type="module">
import countryDataPackage from 'https://cdn.skypack.dev/country-data-package';
</script>