https://github.com/tinovyatkin/google-localized-domain
Returns localized Google domain name (like google.co.uk) querying by country code (like GB)
https://github.com/tinovyatkin/google-localized-domain
country google
Last synced: 12 months ago
JSON representation
Returns localized Google domain name (like google.co.uk) querying by country code (like GB)
- Host: GitHub
- URL: https://github.com/tinovyatkin/google-localized-domain
- Owner: tinovyatkin
- License: mit
- Created: 2017-10-21T19:51:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-04T00:15:51.000Z (over 2 years ago)
- Last Synced: 2025-06-27T03:16:28.742Z (12 months ago)
- Topics: country, google
- Language: JavaScript
- Size: 531 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
```js
const googleLocalizedDomain = require('@destinationstransfers/google-localized-domain');
const britainDomain = googleLocalizedDomain.getByCountryCode('GB'); // => '.google.co.uk'
```