Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 933 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 933 Bytes

locale-emoji

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

build status coverage license version downloads

Installation

$ npm install locale-emoji

Usage

import localeEmoji from 'locale-emoji';

localeEmoji('en-CA'); // 🇨🇦
localeEmoji('en_CA'); // 🇨🇦
localeEmoji('en'); // 🇺🇸