Giter VIP home page Giter VIP logo

map-of-india's Introduction

Map of India

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

Quick Start ๐Ÿš€

Open your terminal and run npm start

Setup โš™๏ธ

npm install && npm start

Commands ๐Ÿ”ฅ

  • npm run draw: Prints Map of India ๐Ÿ‡ฎ๐Ÿ‡ณ in the terminal

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

Explained ๐Ÿ—๏ธ

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 ๐ŸŽ‰

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

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

Support โค๏ธ

Acknowledgement ๐Ÿค—

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

  • This repository is inspired from a StackOverflow thread.

Author ๐Ÿ†

Vinit Shahdeo

Follow on Twitter @Vinit_Shahdeo


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

map-of-india's People

Contributors

vinitshahdeo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

map-of-india's Issues

Just border of Map of INDIA

Amazing work @vinitshahdeo . Loved your way of wishing people.
One suggestion from me, right now the whole map of india is displayed with !.
Code can be done just to display border of INDIA using ! or --

P.S: Just a suggestion :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.