@destinationstransfers/google-localized-domain

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

Stats

StarsIssuesVersionUpdatedCreatedSize
@destinationstransfers/google-localized-domain
0212.0.182 years ago4 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'

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.