JSPM

locale-emoji

0.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22210
  • Score
    100M100P100Q134995F
  • License CC0-1.0

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

Package Exports

  • locale-emoji

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (locale-emoji) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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'); // πŸ‡ΊπŸ‡Έ