Skip to content

Lastname package provides functionality to generate a fake last name value.

License

Notifications You must be signed in to change notification settings

faker-javascript/lastname

Repository files navigation

Lastname

Lastname package provides functionality to generate a fake last name value.

Version node-current License

Install

npm

npm install @fakerjs/lastname --save-dev

yarn

yarn add @fakerjs/lastname -D

Usage

import lastName from '@fakerjs/lastname';

lastName();
//=> Roberts

lastName({locale: 'en_US'});
//=> Roberts

// 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

Lastname package provides functionality to generate a fake last name value.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published