0.1.2 • Published 6 years ago

worldflags v0.1.2

Weekly downloads
13
License
-
Repository
-
Last release
6 years ago

worldFlags.js

get flags of the world in your Node.js console

Installation

npm install worldflags

Custom your Node.js app

More than 40 flags available !

This module uses colors from the "colors" module :

  • Black
  • Red
  • Green
  • Yellow
  • Blue
  • Magenta
  • Cyan
  • White

Usage

var worldFlags = require('worldFlags');

worldFlags.denmark(); // use base size factor (1) (base size can be different depending on the flag's design)
worldFlags.france(3); // bigger flag
worldFlags.germany(-42); //invalid size factors are changed to 1
worldFlags.japan(); //in v0.1.2, some flags are just available in one size
0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago