Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 639 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 639 Bytes

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"