@fakerjs/firstname
v1.0.1
Published
Firstname package provides functionality to generate a fake first name value.
Downloads
11,180
Maintainers
Readme
Install
$ npm install --save @fakerjs/firstname
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