Skip to content

Polish

Polish is one of the many supported locales in Faker. It uses the language code pl and is available as fakerPL.

Language data

KeyValue
NamePolish
Local NamePolski
Languagepl
ScriptLatn
Directionltr

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

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

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

Released under the MIT License.