1.1.1 β€’ Published 11 months ago

locale2emoji v1.1.1

Weekly downloads
-
License
-
Repository
github
Last release
11 months ago

locale2emoji

Convert a locale id string (LCID) to a unicode regional indicator symbol.

Installation

$ npm install locale2emoji

Usage

import { getFlagEmoji } from 'locale2emoji';

getFlagEmoji('en-CA'); // πŸ‡¨πŸ‡¦
getFlagEmoji('en_CA'); // πŸ‡¨πŸ‡¦
getFlagEmoji('en'); // πŸ‡ΊπŸ‡Έ
1.1.1

11 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago