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