1.3.3 • Published 1 month ago

country-code-to-flag-emoji v1.3.3

Weekly downloads
638
License
MIT
Repository
github
Last release
1 month ago

npm downloads CI

Country-Code-to-Flag-Emoji

A function that returns a flag emoji given IETF language tag.

tl;dr

  • Install by executing npm install country-code-to-flag-emoji or yarn add country-code-to-flag-emoji.
  • Import by adding import countryCodeToFlagEmoji from 'country-code-to-flag-emoji'.
  • Do stuff with it!
    countryCodeToFlagEmoji('pl'); // 🇵🇱

Accepted formats

Examples

countryCodeToFlagEmoji('pl'); // '🇵🇱'

countryCodeToFlagEmoji('hu-HU'); // '🇭🇺'

License

The MIT License.

Author

1.3.3

1 month ago

1.3.2

7 months ago

1.3.1

12 months ago

1.3.0

12 months ago

1.2.0

1 year ago

1.2.1

1 year ago

1.1.0

5 years ago

1.0.0

5 years ago