country-to-emoji-flag icon indicating copy to clipboard operation
country-to-emoji-flag copied to clipboard

Convert an ISO 3166-1 alpha2 code to a unicode emoji flag

Convert an ISO 3166-1 alpha2 (country) code to an emoji

const emoji = require('country-to-emoji-flag');

emoji('DK');
	// 🇩🇰

For a countries list see: https://github.com/srcagency/iso-3166-1-codes