Jordan Hawker

Ember Spotlight #2: Ember-World-Flags September 22, 2015

This week’s spotlight is on a relatively unknown addon, Ember-World-Flags, brought to us by Francois Harbec. This project is does just one thing, and it does it incredibly well; it provides a useful Ember Component for displaying world flags by codes according to the ISO 3166-1 alpha-2 Specification. Nearly all of the 263 officially recognized countries, territories, and special areas are supported.

This addon is great if your app has any sort of International features, whether it’s allowing a user to select their home country or displaying the flag associated with a phone number based on its country code. For my Open Source Good Deed™, I submitted a Pull Request upgrading the addon to the latest dependency versions provided by Ember-CLI, as well as building a demo app that can be deployed via ember-cli-github-pages. Until that PR is merged, you can view my fork’s demo page here:

http://github.jhawk.co/ember-world-flags/

Looking to contribute to Ember-World-Flags? That’s great! There are ~40 remaining country codes that are not yet added to the repository, and your help completing the ISO spec would be greatly appreciated. Just check out the issue I opened in the project repo detailing the missing flags and open a PR today!

Check out Ember Spotlight #1: Ember-Social