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

flag-icons

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flag-icons

GoSquared's Flag Icon Set

  • 1.0.1-beta.1
  • next
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
112K
decreased by-57.42%
Maintainers
1
Weekly downloads
 
Created
Source

yarn and npm ready

To install this package execute yarn add flag-icons or npm install flag-icons


GoSquared's Flag Icon Set

Huge thank you to GoSquared for making this icon set. I just cloned their repo to create a npm package.

Here you'll find all the files available in GoSquared's Flag Icon Set and the tools useed to generate the downloadable file.

If you have any comments, corrections or additions then let us know with an issue or pull request

License and Usage

MIT, see LICENSE.txt

Building your own version of the icon set

If you want to build your own version of this flag set, with any additions or modifications, just edit the files in src/flags. Each flag has its own folder, and inside each folder there is one PNG file for each size of the flag. Also in each folder is a file called code, which contains the ISO-3166-2 country code for the flag.

To generate the full set, just run make (you may want to run make clean if you have removed any flags). To speed up generation, try running make -jN where N is the number of CPU cores you have (e.g. make -j4 on a quad-core machine)

Tools required for generating the set

  • GNU Make
  • imagemagick
  • png2icns (provided on Ubuntu by icnsutils, or via sourceforge)

Keywords

FAQs

Package last updated on 19 Jun 2018

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