English (Hong Kong)
English (Hong Kong) is one of the many supported locales in Faker. It uses the language code en_HK and is available as fakerEN_HK.
Language data
| Key | Value |
|---|---|
| Name | English (Hong Kong) |
| Local Name | English (Hong Kong) |
| Language | en |
| Script | Latn |
| Direction | ltr |
Usage
A few commonly localized methods are shown below. Reload this page to see more random examples. Not all methods are localized in all locales.
ts
import { fakerEN_HK } from '@faker-js/faker';
// const { fakerEN_HK } = require('@faker-js/faker'); // CJS
// Commonly localized methods:
fakerEN_HK.person.fullName();
fakerEN_HK.location.streetAddress();
fakerEN_HK.location.city();
fakerEN_HK.location.state();
fakerEN_HK.location.zipCode();
fakerEN_HK.phone.number();
fakerEN_HK.commerce.productName();
fakerEN_HK.internet.email();
fakerEN_HK.internet.url();
fakerEN_HK.date.month();
fakerEN_HK.date.weekday();
fakerEN_HK.word.noun();
fakerEN_HK.word.verb();
fakerEN_HK.company.name();
// Non-localized methods work as normal:
fakerEN_HK.number.int();