1.3.3 • Published 1 year ago

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

Weekly downloads
638
License
MIT
Repository
github
Last release
1 year 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 year ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

3 years ago

1.2.1

2 years ago

1.1.0

6 years ago

1.0.0

6 years ago