node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

match-country-german

match-country-german

Try to match given german country name with its ISO 3166-1 code.

npm version Build Status dependency status dev dependency status license

Usage

const match = require('match-country-german')
 
let iso = match('Deutschland') // 'DE' 
    iso = match('Vereinigte Staaten von Amerika') // 'US' 
    iso = match('Großbrltannein') // null 
 

Contributing

If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.