ean-country provides EanCountry class which can infer an ISO-3166 country code based on an EAN-13 code.
Paweł J. Wal
MIT