You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
Publish the "country code -> flag emoji" helper as a separate library #4
Activity
oherrala commentedon Oct 28, 2016
Quick search yielded two potential libraries:
I like the
emoji-flagpackage. It's minimalistic.emoji-flagshas ~40 kB JSON database of countries (which burden to keep up to date).jviide commentedon Oct 28, 2016
uriteller used
emoji-flagsearlier. The size was the reason why I removed it.jviide commentedon Oct 28, 2016
emoji-flagdepends onpunycode2. In our usecase (browser rendering) we can useString.fromCodePointinstead?jviide commentedon Oct 28, 2016
In fact it seems that the part of
punycode2thatemoji-flaguses does its conversions with String.fromCodePoint.