rapideditor/country-coder

Don't use a class structure

Closed this issue · 0 comments

The CountryCoder class doesn't actually manage any state except the index caches. Since these never change and could be shared by various callers of the package, it'd be better to move the caches to the module level and remove the need for a class at all.

Regrettably, this is a big breaking change.