Skip to content

Urdu ​

Urdu is one of the many supported locales in Faker. It uses the language code ur and is available as fakerUR.

Language data ​

KeyValue
NameUrdu
Local Nameاردو
Languageur
ScriptArab
Directionrtl

Usage ​

A few commonly localized methods are shown below. Click the refresh button 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();

Released under the MIT License.