Skip to content

Gender package provides functionality to generate a fake gender value.

License

Notifications You must be signed in to change notification settings

faker-javascript/gender

Gender

Gender package provides functionality to generate a fake gender value.

Versionnode-currentLicense

Install

npm

npm install @fakerjs/gender --save-dev 

yarn

yarn add @fakerjs/gender -D 

Usage

importgenderfrom'@fakerjs/gender';gender();//=> Femalegender({locale: 'ru_RU'});//=> Женскийgender({extra: ['Gender'],locale: 'en_US'});//=> Gender// Allowed extra: valid array// Allowed locale: en_US, ru_RU

Tests

Run tests

npm run test 

License

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

About

Gender package provides functionality to generate a fake gender value.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published