1.0.1 • Published 1 year ago

greek-lists v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

MIT License

Greek Lists

English An attempt to gather greek static lists in one place.

Currently supported lists
Communities
Decentralized Administrations
Mountains
Municipalities
Municipal Units
Prefectures
Regional Units
Regions
Settlements

 

   

Greek Μια προσπάθεια να μαζέψουμε ελληνικές στατικές λίστες σε ένα σημείο.

Λίστες που υποστηρίζονται
Κοινότητες
Αποκεντρωμένες Διοικήσεις
Βουνά
Δήμοι
Δημοτικές Ενότητες
Νομαρχίες
Περιφερειακές Ενότητες
Περιφέρειες
Οικισμοί

 

Installation

npm install greek-lists

or

yarn add greek-lists

or

pnpm add greek-lists

Usage/Examples

React example

import {regions} from 'greek-lists'

function App() {
  return regions.map((region, index) => <div key={index}>{region}<div>)
}

Output

Ανατολικής Μακεδονίας και Θράκης
Αττικής
Βορείου Αιγαίου
Δυτικής Ελλάδας
Δυτικής Μακεδονίας
Ηπείρου
Θεσσαλίας
Ιονίων Νήσων
Κεντρικής Μακεδονίας
Κρήτης
Νοτίου Αιγαίου
Πελοποννήσου
Στερεάς Ελλάδας

API

ListType
communitiesstring[]
decentralizedAdministrationsstring[]
geographicalAreasstring[]
mountainsMountain[] check Mountain
municipalitiesstring[]
municipalUnitsstring[]
prefecturesstring[]
regionalUnitsstring[]
regionsstring[]
settlementsstring[]
{
name: string;
top: string;
height: number;
area: string;
prefecture: string;
}

Contributing

Contributions are always welcome!

Feel free to add your list and create a pull request.

Contributors