English (United States)
English (United States) is one of the many supported locales in Faker. It uses the language code en_US and is available as fakerEN_US.
Language data
| Key | Value |
|---|---|
| Name | English (United States) |
| Local Name | English (United States) |
| 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_US } from '@faker-js/faker';
// const { fakerEN_US } = require('@faker-js/faker'); // CJS
// Commonly localized methods:
fakerEN_US.person.fullName();
fakerEN_US.location.streetAddress();
fakerEN_US.location.city();
fakerEN_US.location.state();
fakerEN_US.location.zipCode();
fakerEN_US.phone.number();
fakerEN_US.commerce.productName();
fakerEN_US.internet.email();
fakerEN_US.internet.url();
fakerEN_US.date.month();
fakerEN_US.date.weekday();
fakerEN_US.word.noun();
fakerEN_US.word.verb();
fakerEN_US.company.name();
// Non-localized methods work as normal:
fakerEN_US.number.int();