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