@destinationstransfers/google-localized-domain

Returns Google localized domain (like google.co.uk) querying by country code (like 'GB') or language code (like 'en-GB')

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@destinationstransfers/google-localized-domain
0292.0.184 years ago5 years agoMinified + gzip package size for @destinationstransfers/google-localized-domain in KB

Readme

google-localized-domain
Returns localized Google domain name (like google.co.uk) querying by country code (like GB), uses official Google domains list. Sync and superfast.
Usage
const googleLocalizedDomain = require('@destinationstransfers/google-localized-domain');
const britainDomain = googleLocalizedDomain.getByCountryCode('GB'); // => '.google.co.uk'