Map Of India Save

A Node.js script to generate the Map of India in terminal

Project README

Map of India

A Node.js script to generate the Map of India in terminal

Quick Start :rocket:

Open your terminal and run npm start

Setup :gear:

npm install && npm start

Commands :fire:

  • npm run draw: Prints Map of India :india: in the terminal

  • npm run wish: Prints a Happy Independence Day message in the terminal

Explained :building_construction:

cd src && cat index.js

Navigate to src/ folder and check out index.js.

For the binary version of the map, please checkout republic day/index.js.

cd republic\ day
node index.js


         .--,_
        ['    '\.
         \       `''|
         |         ,]
          `._      ].
            |     \
          _/       -'\
         ,'          ,'
       _/'          \                     ,..-''L_
  |--''              '-;__        |\     /      .,'
   \                      `--.__,'_ '----     ,-'
   `\                             \`-'\__    ,|
,--;/                             /     .| ,/
\__                               '|    /  / 
  ./  _-,                         _|   S@yaN
  \__/ /                        ,/        "
       |                      _/
       |                    ,/
       \                   /
        |              /.-'
         \           _/                   :
          |         /                      .
           |        |                     .
      .    |        |                     '.
      ;     \       /                     ;\
      '      |     |                
             \    _|                      : 
              \_,/                         "'
                                          : '
                                             '


  _   _                                                           
 | | | | __ _ _ __  _ __  _   _                                   
 | |_| |/ _` | '_ \| '_ \| | | |                                  
 |  _  | (_| | |_) | |_) | |_| |                                  
 |_|_|_|\__,_| .__/| .__/ \__, |            _                     
 |_ _|_ __   |_| | |_| _ _|___/__ _ __   __| | ___ _ __   ___ ___ 
  | || '_ \ / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __/ _ \
  | || | | | (_| |  __/ |_) |  __/ | | | (_| |  __/ | | | (_|  __/
 |___|_| |_|\__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___\___|
 |  _ \  __ _ _   _   |_|                                         
 | | | |/ _` | | | |                                              
 | |_| | (_| | |_| |                                              
 |____/ \__,_|\__, |                                              
              |___/                                               

Dependencies :tada:

  • Figlet: An NPM module used to turn a string into ASCII art.

  • Chalk: An NPM module used for terminal string styling.

Support :heart:

Acknowledgement :hugs:

  • The image used in this repo is taken from here.

  • This repository is inspired from a StackOverflow thread.

Author :trophy:

Vinit Shahdeo

Follow on Twitter @Vinit_Shahdeo



if (_.isAwesome(thisRepo)) {
  thisRepo.star(); // thanks in advance :p
}


Open Source Agenda is not affiliated with "Map Of India" Project. README Source: vinitshahdeo/Map-of-India

Open Source Agenda Badge

Open Source Agenda Rating