Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.35 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.35 KB

Firstname

Firstname package provides functionality to generate a fake first name value.

Version node-current License

Install

npm

npm install @fakerjs/firstname --save-dev

yarn

yarn add @fakerjs/firstname -D

Usage

import firstName from '@fakerjs/firstname';

firstName();
//=> Lia

firstName({locale: 'en_US', gender: 'female'});
//=> Liana

// Allowed gender: male, female
// Allowed locale: en_US, ru_RU, pl_PL, uk_UA, it_IT, de_DE, fr_FR

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko