New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

greek-flag

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

greek-flag

Print the Greek flag to the console!

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

greek-flag

Print the Greek flag to the console using unicode block characters and ANSI-256 colors!

What greek-flag prints to the console

Minimum Dimensions: 9 rows x 27 columns (ratio: 2:3)

Usage

Via npx:

$ npx greek-flag

Via Global Install

$ npm install --global greek-flag
$ greek-flag

Via Import

$ npm install greek-flag

then:

const greek_flag = require('greek-flag');
console.log(greek_flag.create(<scale-number>, <border-boolean>, "<light|classic|dark>"));

Options

Standard Greek Flag

$ greek-flag

What greek-flag prints to the console

Add a Border

To add a border, add the --border flag:

$ greek-flag --border

What greek-flag prints to the console

Make it Bigger

To increase the scale, add the --scale=<positive-number> flag. The value can be any integer greater than or equal to 1. (Default scale is 1). Can also use --scale=full to fit the flag to the closest terminal dimensions.

$ greek-flag --scale=<positive-number>

What greek-flag prints to the console

Change the Colors

The flag can be displayed with a lighter or a darker shade of blue using the --color=<light|classic|dark> flag. The default value is classic.

Lighter Blue
$ greek-flag --color=light

What greek-flag prints to the console

Darker Blue
$ greek-flag --color=dark

What greek-flag prints to the console

Putting it All Together

Parameters can be mixed together to display your preferred version What greek-flag prints to the console

Ζήτω η Ελλάς!

  • euro-flags - Print the flags of 28 European countries to the console!
  • usa-flag - Print the flag of the United States of America to the console!

Keywords

Greece

FAQs

Package last updated on 11 May 2022

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