1.1.1 • Published 5 months ago

country-currency-emoji-flags v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

country-currency-emoji-flags

This small package helps to obtain emojis based on the currency code (ISO 4217) or country code (ISO 3166-1 alpha-2).

Install

npm install --save country-currency-emoji-flags

Usage

import {
  getEmojiByCountryCode,
  getEmojiByCurrencyCode,
  countryData,
  currencyData,
} from "country-currency-emoji-flags";

// Currency lookup
emojiFlags.getEmojiByCurrencyCode("CAD");
// => "🇨🇦"

// Country lookup
emojiFlags.getEmojiByCountryCode("CA");
// => "🇨🇦"

// entire currency code set
emojiFlags.currencyData;

// entire country code set
emojiFlags.countryData;
1.1.1

5 months ago

1.1.0

5 months ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago