@fakerjs/firstname
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Firstname

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

Version node-current License

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

Package Sidebar

Install

npm i @fakerjs/firstname

Weekly Downloads

1,959

Version

1.0.1

License

MIT

Unpacked Size

63.3 kB

Total Files

19

Last publish

Collaborators

  • awilum