Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rendered-country-flags

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rendered-country-flags

Rendered flag emojis for all countries

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

rendered-country-flags

Rendered flag emojis for all countries

Introduction

This module provides a rendered and base64-encoded version of all the emoji flags present in google's Noto Color Emoji font.

Usage

const icons = require('rendered-country-flags');

console.log(icons["US"]);
// -> "data:image/png;base64,iVBORw0KGgoAAAANSUhE..."

Development

# Generate files
bash generate.sh

If you'd like to generate the flags from source, clone googlefonts/noto-emoji, patch the Makefile in there using Makefile.patch and just build the project using the instructions provided in the README.

License

All the icons used in this package come from the noto emoji font, which is licensed under SIL Open Font License, version 1.1. More concretely, the flag emojis are generated by applying a transform to a set of flag images obtained from either wikipedia (CC BY-SA license) or created by google and exempt of copyright.

Keywords

FAQs

Package last updated on 14 Nov 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc