OpenBookPrices / country-data

Country related data such as ISO codes, currencies etc
MIT License
515 stars 165 forks source link

case insensitive lookup #45

Open amelialaundy opened 8 years ago

amelialaundy commented 8 years ago

Having no case preference would be nice:

e.g lookup({name: 'Antigua and Barbuda'}) doesn't find a match because the source data uses 'And'

I have a branch cut with a fix for this if you want to incorporate it.

Laboratory commented 7 years ago

Sometimes we have country name like 'UNITED STATES'

Sonatrix commented 6 years ago

Fix the issue on https://github.com/Sonatrix/country-list https://npm.runkit.com/country-data-list