Awesome
<p align="center"> <a href="https://vinitshahdeo.github.io/Map-of-India/"> <img src="./assets/map-of-india.png" width="20%" height="20%" /> </a> </p> <h1 align="center">Map of India</h1> <p align="center"> <a href="https://github.com/vinitshahdeo/Map-of-India/stargazers"> <img src="https://img.shields.io/github/stars/vinitshahdeo/Map-of-India?label=Leave%20a%20star%20on%20GitHub&logo=github&style=flat&color=critical"/> </a> <a href="https://github.com/vinitshahdeo/Map-of-India"> <img src="https://img.shields.io/badge/Happy%20Independence-Day-blue" /> </a> <a href="https://github.com/vinitshahdeo/Map-of-India/blob/master/LICENSE"> <img src="https://img.shields.io/github/license/vinitshahdeo/Map-of-India?color=green&logo=github"> </a> <a href="https://github.com/vinitshahdeo"> <img src="https://img.shields.io/github/followers/vinitshahdeo.svg?label=Follow%20@vinitshahdeo&style=flat&color=yellow&logo=github" /> </a> </p> <p align="center"><img src="./assets/cropped-xxs.png" /></p> <h2 align="center"> A Node.js script to generate the <a href="https://vinitshahdeo.github.io/Map-of-India/">Map of India</a> in terminal </h2>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:
-
Do share my Dev.to article: Code to generate the Map of India using Node.js
-
Retweet this! :repeat:
-
Read my open-source journey: If You Are A Techie, Your Home Page Should Be GitHub, Not Instagram!
-
Read my Thank You Note: My journey from 0 to 1K followers on GitHub :blue_heart:
-
Leave a star here :star:
Acknowledgement :hugs:
-
The image used in this repo is taken from here.
-
This repository is inspired from a StackOverflow thread.
Author :trophy:
<a href="https://www.eatmy.news/2020/06/code-like-you-eat-i-mean-code-daily-as.html"><img src="https://raw.githubusercontent.com/vinitshahdeo/Water-Monitoring-System/master/assets/vinit-shahdeo.jpg" width="150px " height="150px" /></a> |
---|
Vinit Shahdeo |
<a href="https://twitter.com/Vinit_Shahdeo"><img src="https://raw.githubusercontent.com/vinitshahdeo/Water-Monitoring-System/master/assets/twitter.png" width="32px" height="32px"></a> <a href="https://www.facebook.com/vinit.shahdeo"><img src="https://raw.githubusercontent.com/vinitshahdeo/Water-Monitoring-System/master/assets/facebook.png" width="32px" height="32px"></a> <a href="https://www.linkedin.com/in/vinitshahdeo/"><img src="https://raw.githubusercontent.com/vinitshahdeo/Water-Monitoring-System/master/assets/linkedin.png" width="32px" height="32px"></a> |
if (_.isAwesome(thisRepo)) {
thisRepo.star(); // thanks in advance :p
}