match-german-federal-states
v0.1.0
Published
Try to match a German federal state name with its ISO code.
Downloads
12
Maintainers
Readme
match-german-federal-states
Try to match a German federal state name with its ISO code. Inspired by match-country-german.
Installing
npm install match-german-federal-statesUsage
const match = require('match-german-federal-states')
// English
match('Brandenburg') // BB
match('rhineland palatinate') // RP
match('baden-weurttemberg') // BW
// German
match('Brandenburg', 'de') // BB
match('mecklenburg vorpommern', 'de') // MV
match('neidersachsen', 'de') // NI
match('thüringen', 'de') // THSee also
match-country-german– Try to match given german country name with its ISO code.
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.
