Skip to content

Esperanto ​

Esperanto is one of the many supported locales in Faker. It uses the language code eo and is available as fakerEO.

Language data ​

KeyValue
NameEsperanto
Local NameEsperanto
Languageeo
ScriptLatn
Directionltr

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

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

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

Released under the MIT License.