I'm using [moment.js](https://momentjs.com) with moment timezone in it.

I was trying to find how to get code `'fr'` from zone name `'Europe/Paris'` all day, but with no luck.

I read all their docs and couldn't find that function either, so i need help on this one.

Closest what i found is [this](https://momentjs.com/timezone/docs/#/using-timezones/getting-country-zones/). I need this function but in reverse, to pass country name and get country code.