A Node.js script to generate the Map of India in terminal
Open your terminal and run npm start
npm install && npm start
-
npm run draw
: Prints Map of India 🇮🇳 in the terminal -
npm run wish
: Prints a Happy Independence Day message in the terminal
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
\__/ / ,/ "
| _/
| ,/
\ /
| /.-'
\ _/ :
| / .
| | .
. | | '.
; \ / ;\
' | |
\ _| :
\_,/ "'
: '
'
_ _
| | | | __ _ _ __ _ __ _ _
| |_| |/ _` | '_ \| '_ \| | | |
| _ | (_| | |_) | |_) | |_| |
|_|_|_|\__,_| .__/| .__/ \__, | _
|_ _|_ __ |_| | |_| _ _|___/__ _ __ __| | ___ _ __ ___ ___
| || '_ \ / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __/ _ \
| || | | | (_| | __/ |_) | __/ | | | (_| | __/ | | | (_| __/
|___|_| |_|\__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___\___|
| _ \ __ _ _ _ |_|
| | | |/ _` | | | |
| |_| | (_| | |_| |
|____/ \__,_|\__, |
|___/
-
Figlet: An NPM module used to turn a string into ASCII art.
-
Chalk: An NPM module used for terminal string styling.
-
Do share my Dev.to article: Code to generate the Map of India using Node.js
-
Retweet this! 🔁
-
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 💙
-
Leave a star here ⭐
-
The image used in this repo is taken from here.
-
This repository is inspired from a StackOverflow thread.
Vinit Shahdeo |
if (_.isAwesome(thisRepo)) {
thisRepo.star(); // thanks in advance :p
}