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