react-ip-details
Version:
Get user location/ip-details/geo position/currency convert based on api or navigation
23 lines (22 loc) • 390 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
const countriesToLocal = {
US: 'en-US',
CA: 'en-CA',
AU: 'en-AU',
DE: 'de-DE',
FR: 'fr-FR',
IE: 'en-IE',
NL: 'nl-NL',
GB: 'en-GB',
JP: 'ja-JP',
NZ: 'en-NZ',
HK: 'zh-HK',
SG: 'zh-SG',
DK: 'da-DK'
};
var _default = countriesToLocal;
exports.default = _default;