LogicException / german-federal-states

german federal states and capital cities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

german federal states

This package contains types and const of all german federal states and capital cities.

How to use

FederalStates

Provides an object of all federal states with language indexed (by ISO-639-1 code) name. At the moment I've only added the german name of the federal state. Feel free to add more languages if needed.

console.log(FederalStates.SN.de);
// prints: "Sachsen"

CapitalCities

Provides an object of the capital city for each federal state. City names are also language indexed (by ISO-639-1 code).

console.log(CapitalCities.SN.de);
// prints: "Dresden"

About

german federal states and capital cities

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 100.0%