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