Esperanto
Esperanto is one of the many supported locales in Faker. It uses the language code eo and is available as fakerEO.
Language data
| Key | Value |
|---|---|
| Name | Esperanto |
| Local Name | Esperanto |
| Language | eo |
| 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 { 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();