Skip to content

Maldivian

Maldivian is one of the many supported locales in Faker. It uses the language code dv and is available as fakerDV.

Language data

KeyValue
NameMaldivian
Local Nameދިވެހި
Languagedv
ScriptThaa
Directionrtl

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 { fakerDV } from '@faker-js/faker';
// const { fakerDV } = require('@faker-js/faker'); // CJS

// Commonly localized methods:
fakerDV.person.fullName();
fakerDV.location.streetAddress();
fakerDV.location.city();
fakerDV.location.state();
fakerDV.location.zipCode();
fakerDV.phone.number();
fakerDV.commerce.productName();
fakerDV.internet.email();
fakerDV.internet.url();
fakerDV.date.month();
fakerDV.date.weekday();
fakerDV.word.noun();
fakerDV.word.verb();
fakerDV.company.name();

// Non-localized methods work as normal:
fakerDV.number.int();

Released under the MIT License.