Skip to content

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

License

Notifications You must be signed in to change notification settings

faker-javascript/firstname

Repository files navigation

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

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published