Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vinitshahdeo/map-of-india
A Node.js script to generate the Map of India in terminal
https://github.com/vinitshahdeo/map-of-india
hacktoberfest hacktoberfest2020 independence-day india javascript map-of-india nodejs republic-day-of-india
Last synced: about 1 month ago
JSON representation
A Node.js script to generate the Map of India in terminal
- Host: GitHub
- URL: https://github.com/vinitshahdeo/map-of-india
- Owner: vinitshahdeo
- License: mit
- Created: 2020-08-14T23:50:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-15T16:11:13.000Z (over 2 years ago)
- Last Synced: 2024-11-11T21:38:03.385Z (about 2 months ago)
- Topics: hacktoberfest, hacktoberfest2020, independence-day, india, javascript, map-of-india, nodejs, republic-day-of-india
- Language: JavaScript
- Homepage: https://vinitshahdeo.github.io/Map-of-India/
- Size: 2.55 MB
- Stars: 83
- Watchers: 4
- Forks: 22
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this 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:
```bash
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:
```bash
cd src && cat index.js
```Navigate to `src/` folder and check out [`index.js`](https://github.com/vinitshahdeo/Map-of-India/blob/master/src/index.js).
> **For the binary version of the map, please checkout [`republic day/index.js`](https://github.com/vinitshahdeo/Map-of-India/blob/master/republic%20day/index.js)**.
```bash
cd republic\ day
node index.js
``````javascript
.--,_
[' '\.
\ `''|
| ,]
`._ ].
| \
_/ -'\
,' ,'
_/' \ ,..-''L_
|--'' '-;__ |\ / .,'
\ `--.__,'_ '---- ,-'
`\ \`-'\__ ,|
,--;/ / .| ,/
\__ '| / /
./ _-, _| S@yaN
\__/ / ,/ "
| _/
| ,/
\ /
| /.-'
\ _/ :
| / .
| | .
. | | '.
; \ / ;\
' | |
\ _| :
\_,/ "'
: '
'_ _
| | | | __ _ _ __ _ __ _ _
| |_| |/ _` | '_ \| '_ \| | | |
| _ | (_| | |_) | |_) | |_| |
|_|_|_|\__,_| .__/| .__/ \__, | _
|_ _|_ __ |_| | |_| _ _|___/__ _ __ __| | ___ _ __ ___ ___
| || '_ \ / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __/ _ \
| || | | | (_| | __/ |_) | __/ | | | (_| | __/ | | | (_| __/
|___|_| |_|\__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___\___|
| _ \ __ _ _ _ |_|
| | | |/ _` | | | |
| |_| | (_| | |_| |
|____/ \__,_|\__, |
|___/
```### Dependencies :tada:
- [Figlet](https://www.npmjs.com/package/figlet): An NPM module used to turn a string into ASCII art.
- [Chalk](https://www.npmjs.com/package/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](https://dev.to/vinitshahdeo/code-to-generate-the-map-of-india-using-node-js-3i06)**
- **Retweet** [this](https://twitter.com/Vinit_Shahdeo/status/1294487868455284736)! :repeat:
- Read my open-source journey: **[If You Are A Techie, Your Home Page Should Be GitHub, Not Instagram](https://www.opensourceforu.com/2020/07/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](https://dev.to/vinitshahdeo/my-journey-from-0-to-1k-followers-on-github-1n6h) :blue_heart:
- Leave a star [here](https://github.com/vinitshahdeo/Map-of-India/stargazers) :star:
### Acknowledgement :hugs:
- The image used in this repo is taken from [here](https://www.pngmart.com/files/7/India-Map-Transparent-PNG.png).
- This repository is inspired from a StackOverflow [thread](https://stackoverflow.com/questions/3533348/how-does-this-code-generate-the-map-of-india).
### Author :trophy:
| |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| **[Vinit Shahdeo](https://fayz.in/stories/s/1522/0/?ckt_id=ZGL1ZGVk&title=story_of_vinit_shahdeo)** |
| |[![Follow on Twitter @Vinit_Shahdeo](https://img.shields.io/twitter/follow/Vinit_Shahdeo?style=social)](https://twitter.com/Vinit_Shahdeo)
---
```javascript
if (_.isAwesome(thisRepo)) {
thisRepo.star(); // thanks in advance :p
}```
---