Skip to content

Slovak

Slovak is one of the many supported locales in Faker. It uses the language code sk and is available as fakerSK.

Language data

KeyValue
NameSlovak
Local Nameslovenčina
Languagesk
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 { fakerSK } from '@faker-js/faker';
// const { fakerSK } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.