Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.29 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.29 KB

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