0.1.2 • Published 6 years ago
worldflags v0.1.2
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