Socket
Socket
Sign inDemoInstall

angular-emoji-flags

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-emoji-flags

turns a country code (ISO 3166) into a flag emoji


Version published
Maintainers
1
Created

Readme

Source

angular-emoji-flags Build Status

turns a country code (ISO 3166) into a flag emoji.

Installation

  • npm install angular-emoji-flags
  • add angular-emoji-flags to your angular.module dependency, ususally app.js

## Demo

## Emoji Support

Not every OS and Browser are able to display emojis. Check the support here: http://caniemoji.com

## Usage

// in controller
$scope.emoji = emojiFlags.getFlagByCountry('us');

// in template as a filter
{{ 'us' | asEmojiFlag }}

Working Document

Currently there are 197 countries supported. 60 are still missing.

For the full list of supported and missing countries please refer to: https://docs.google.com/spreadsheets/d/15yDAA8Fcl-pVfhDZRJQQUbJia_zj_33IzjRmLM3D_3w/edit?usp=sharing

Contribute

  • Just use gulp watch and hack away!

Keywords

FAQs

Last updated on 04 Sep 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc