Skip to content

LogicException/german-federal-states

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published