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